diff --git a/ruoyi-admin/src/main/java/com/ruoyi/cms/controller/HitRegInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/cms/controller/HitRegInfoController.java index 28899ac..9d4b568 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/cms/controller/HitRegInfoController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/cms/controller/HitRegInfoController.java @@ -92,8 +92,11 @@ public class HitRegInfoController extends BaseController hitRegInfoExportVo.setZdlTeacher1(zdTeacher.get(1).getTeacherName()); } hitRegInfoExportVo.setStudent1(hitRegInfo1.getStudentUserss().get(0).getStuName()); + hitRegInfoExportVo.setStudent1Phone(hitRegInfo1.getStudentUserss().get(0).getPhoneNumber()); hitRegInfoExportVo.setStudent2(hitRegInfo1.getStudentUserss().get(1).getStuName()); + hitRegInfoExportVo.setStudent2Phone(hitRegInfo1.getStudentUserss().get(1).getPhoneNumber()); hitRegInfoExportVo.setStudent3(hitRegInfo1.getStudentUserss().get(2).getStuName()); + hitRegInfoExportVo.setStudent3Phone(hitRegInfo1.getStudentUserss().get(2).getPhoneNumber()); list1.add(hitRegInfoExportVo); }catch (Exception e) { log.error("导出错误,团队信息:{}", hitRegInfo1); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/vo/HitRegInfoExportVo.java b/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/vo/HitRegInfoExportVo.java index 92972f8..3e711b3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/vo/HitRegInfoExportVo.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/vo/HitRegInfoExportVo.java @@ -53,9 +53,18 @@ public class HitRegInfoExportVo { @Excel(name = "学生1") private String student1; + @Excel(name = "学生1手机号") + private String student1Phone; + @Excel(name = "学生2") private String student2; + @Excel(name = "学生2手机号") + private String student2Phone; + @Excel(name = "学生3") private String student3; + + @Excel(name = "学生3手机号") + private String student3Phone; }