From 9e65b5504c794902bf7a596a8610d80605e5dc17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 17 Oct 2024 21:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B010.17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/cms/controller/HitRegInfoController.java | 3 +++ .../java/com/ruoyi/cms/domain/vo/HitRegInfoExportVo.java | 9 +++++++++ 2 files changed, 12 insertions(+) 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; }