From f18c0b3336a10bc36a9e5ca34a03b6d19c34569b Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 12 十一月 2024 22:43:01 +0800 Subject: [PATCH] 优化错题详情 --- src/main/java/com/ycl/jxkg/domain/form/ExamPaperForm.java | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/form/ExamPaperForm.java b/src/main/java/com/ycl/jxkg/domain/form/ExamPaperForm.java index ef20d40..2fa35c0 100644 --- a/src/main/java/com/ycl/jxkg/domain/form/ExamPaperForm.java +++ b/src/main/java/com/ycl/jxkg/domain/form/ExamPaperForm.java @@ -4,7 +4,9 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.jxkg.domain.base.AbsForm; import com.ycl.jxkg.domain.entity.ExamPaper; -import com.ycl.jxkg.domain.exam.PaperQuestionDTO; +import com.ycl.jxkg.domain.exam.PaperFixQuestionDTO; +import com.ycl.jxkg.domain.exam.PaperQuestion; +import com.ycl.jxkg.domain.exam.PaperQuestionSettingDTO; import com.ycl.jxkg.group.Add; import com.ycl.jxkg.group.Update; import lombok.Data; @@ -29,12 +31,6 @@ private String name; /** - * 瀛︾ - */ - @NotNull(message = "瀛︾涓嶈兘涓虹┖", groups = {Add.class, Update.class}) - private Integer subjectId; - - /** * 璇曞嵎绫诲瀷( 1鍥哄畾璇曞嵎 2.闅忓嵆璇曞嵎 3.闅忓簭璇曞嵎) */ @NotNull (message = "璇曞嵎绫诲瀷涓嶈兘涓虹┖", groups = {Add.class, Update.class}) @@ -43,12 +39,12 @@ /** * 璇曞嵎鎬诲垎 */ - private BigDecimal score; + private String score; /** * 棰樼洰鏁伴噺 */ - private Integer questionCount; + private Integer num; /** * 寤鸿鏃堕暱(鍒嗛挓) @@ -79,7 +75,12 @@ /** * 棰樼洰閰嶇疆 * */ - private List<PaperQuestionDTO> questionList; + private List<PaperQuestionSettingDTO> questionSetting; + + /** + * 棰樼洰淇℃伅 + * */ + private List<PaperFixQuestionDTO> questionTitleList; public static ExamPaper getEntityByForm(@NonNull ExamPaperForm form, ExamPaper entity) { if(entity == null) { -- Gitblit v1.8.0