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/entity/ExamPaper.java | 68 +++++++++++----------------------- 1 files changed, 22 insertions(+), 46 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java b/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java index 29a0b03..1ce5e12 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java @@ -2,10 +2,12 @@ import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.jxkg.domain.base.AbsEntity; import lombok.Data; import java.io.Serializable; +import java.math.BigDecimal; import java.util.Date; @Data @@ -21,40 +23,22 @@ private String name; /** - * 瀛︾ - */ - @TableField("subject_id") - private Integer subjectId; - - /** - * 璇曞嵎绫诲瀷( 1鍥哄畾璇曞嵎 4.鏃舵璇曞嵎 6.浠诲姟璇曞嵎) + * 璇曞嵎绫诲瀷( 1鍥哄畾璇曞嵎 2.闅忓嵆璇曞嵎 3.闅忓簭璇曞嵎) */ @TableField("paper_type") private Integer paperType; /** - * 骞寸骇 - */ - @TableField("grade_level") - private Integer gradeLevel; - - /** - * 璇曞嵎鎬诲垎(鍗冨垎鍒�) + * 璇曞嵎鎬诲垎 */ @TableField("score") - private Integer score; + private BigDecimal score; /** * 棰樼洰鏁伴噺 */ - @TableField("question_count") - private Integer questionCount; - - /** - * 棰樼洰鍒嗘暟 - */ - @TableField("question_score") - private Integer questionScore; + @TableField("num") + private Integer num; /** * 寤鸿鏃堕暱(鍒嗛挓) @@ -62,32 +46,12 @@ @TableField("suggest_time") private Integer suggestTime; - /** - * 鏃舵璇曞嵎 寮�濮嬫椂闂� - */ - @TableField("limit_start_time") - private Date limitStartTime; - - /** - * 鏃舵璇曞嵎 缁撴潫鏃堕棿 - */ - @TableField("limit_end_time") - private Date limitEndTime; - - /** - * 璇曞嵎妗嗘灦 鍐呭涓篔SON - */ - @TableField("frame_text_content_id") - private Integer frameTextContentId; - @TableField("create_user") private Integer createUser; @TableField("create_time") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; - - @TableField("task_exam_id") - private Integer taskExamId; /** * 鍙鎬э紝鍏紑/绉佹湁 @@ -96,8 +60,20 @@ private String visibility; /** - * 鎵e垎绫诲瀷 + * 澶氶�夋墸鍒嗙被鍨� * */ @TableField("deduct_type") - private String deductType; + private Integer deductType; + + /** + * 澶氶�夎瘎鍒嗗垎鏁� + * */ + @TableField("deduct_type_score") + private BigDecimal deductTypeScore; + + /** + * 棰樼洰鏍煎紡 + * */ + @TableField("content") + private String content; } -- Gitblit v1.8.0