Przeglądaj źródła

试卷加学期id代码提交

pans 7 miesięcy temu
rodzic
commit
794dd5dcd4

+ 5 - 2
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/mapper/mapping/ExamPaperMapper.xml

@@ -17,11 +17,12 @@
     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
     <result column="deleted" jdbcType="BIT" property="deleted" />
     <result column="task_exam_id" jdbcType="INTEGER" property="taskExamId" />
+    <result column="is_select" jdbcType="INTEGER" property="isSelect" />
   </resultMap>
   <sql id="Base_Column_List">
     id, name, subject_id, paper_type, grade_level, score, question_count, suggest_time,
     limit_start_time, limit_end_time, frame_text_content_id, create_user, create_time,
-    deleted, task_exam_id
+    deleted, task_exam_id,is_select
   </sql>
   <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
     select
@@ -279,7 +280,9 @@
 
   <select id="studentPage" resultMap="BaseResultMap" parameterType="vip.xiaonuo.exam.viewmodel.student.exam.ExamPaperPageVM">
     SELECT
-    <include refid="Base_Column_List"/>
+    id, name, subject_id, paper_type, grade_level, score, question_count, suggest_time,
+    limit_start_time, limit_end_time, frame_text_content_id, create_user, create_time,
+    deleted, task_exam_id,is_select
     FROM t_exam_paper
     <where>
        and deleted=0