From 583806972ab87e8435a3226ea69fc88e090e2d01 Mon Sep 17 00:00:00 2001 From: pengjie <17373303529@163.com> Date: Sun, 2 Jun 2024 17:53:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93=E5=AF=BC=E5=85=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/exam/controller/ExamQuestionBankController.java | 2 +- .../com/zhgd/xmgl/modules/exam/vo/ExamQuestionBankImport.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/exam/controller/ExamQuestionBankController.java b/src/main/java/com/zhgd/xmgl/modules/exam/controller/ExamQuestionBankController.java index b93b8ae03..2d7675715 100644 --- a/src/main/java/com/zhgd/xmgl/modules/exam/controller/ExamQuestionBankController.java +++ b/src/main/java/com/zhgd/xmgl/modules/exam/controller/ExamQuestionBankController.java @@ -362,7 +362,7 @@ public class ExamQuestionBankController { //导出文件名称 mv.addObject(NormalExcelConstants.FILE_NAME, "题目管理列表"); mv.addObject(NormalExcelConstants.CLASS, ExamQuestionBankImport.class); - mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("题目管理列表数据", "导出人:Jeecg", "导出信息")); + mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("题目管理列表数据", "导出人:" + SecurityUtils.getUser().getRealName(), "导出信息")); mv.addObject(NormalExcelConstants.DATA_LIST, resultList); return mv; } diff --git a/src/main/java/com/zhgd/xmgl/modules/exam/vo/ExamQuestionBankImport.java b/src/main/java/com/zhgd/xmgl/modules/exam/vo/ExamQuestionBankImport.java index 14d711fc1..f528cb67c 100644 --- a/src/main/java/com/zhgd/xmgl/modules/exam/vo/ExamQuestionBankImport.java +++ b/src/main/java/com/zhgd/xmgl/modules/exam/vo/ExamQuestionBankImport.java @@ -21,8 +21,8 @@ public class ExamQuestionBankImport { @ApiModelProperty(value = "试题名称/选项描述") private String questionName; - @Excel(name = "试题类型(单选题;多选题;填空题;)", width = 15) - @ApiModelProperty(value = "试题类型(单选题;多选题;填空题;)") + @Excel(name = "试题类型(单选题;多选题;)", width = 15) + @ApiModelProperty(value = "试题类型(单选题;多选题;)") private String typeName; @Excel(name = "难易程度", width = 15)