Bladeren bron

fix 题库模块

he2802 4 jaren geleden
bovenliggende
commit
48f5a564e7

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/bo/ExamAddBo.java

@@ -69,4 +69,7 @@ public class ExamAddBo {
     /** 及格分 */
     @ApiModelProperty("及格分")
     private BigDecimal passScore;
+    /** 排序 */
+    @ApiModelProperty("排序")
+    private Integer sort;
 }

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/bo/ExamEditBo.java

@@ -87,4 +87,8 @@ public class ExamEditBo {
     @ApiModelProperty("答题次数 0无限")
     private Long answerNum;
 
+    /** 排序 */
+    @ApiModelProperty("排序")
+    private Integer sort;
+
 }

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/domain/Exam.java

@@ -56,4 +56,6 @@ private static final long serialVersionUID=1L;
     private Long answerTime;
     /** 答题次数 0无限 */
     private Long answerNum;
+
+    private Integer sort;
 }

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/bank/ExamMapper.xml

@@ -20,6 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="answerTime" column="answer_time"/>
         <result property="examPaperId" column="exam_paper_id"/>
         <result property="answerNum" column="answer_num"/>
+        <result property="sort" column="sort"/>
     </resultMap>
 
 

+ 0 - 2
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionModuleChapterMapper.xml

@@ -15,8 +15,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="chapterExamId" column="chapter_exam_id"/>
         <result property="name" column="name"/>
         <result property="sort" column="sort"/>
-        <result property="createTime" column="create_time"/>
-        <result property="updateTime" column="update_time"/>
         <result property="status" column="status"/>
         <result property="prefixName" column="prefix_name"/>
         <result property="publishStatus" column="publish_status"/>