Browse Source

3.2.4 客户端修改

xiaofei 2 years ago
parent
commit
be37f27f2a

+ 4 - 12
distributed-print-business/src/main/resources/mapper/ExamPrintPlanMapper.xml

@@ -225,9 +225,7 @@
             <foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
                 #{item}
             </foreach>
-            <if test="semesterId != null">
-                and be.semester_id = #{semesterId}
-            </if>
+            and be.semester_id = #{semesterId}
             <if test="examId != null">
                 and be.id = #{examId}
             </if>
@@ -329,9 +327,7 @@
             <foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
                 #{item}
             </foreach>
-            <if test="semesterId != null">
-                and be.semester_id = #{semesterId}
-            </if>
+            and be.semester_id = #{semesterId}
             <if test="examId != null">
                 and be.id = #{examId}
             </if>
@@ -435,9 +431,7 @@
             <foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
                 #{item}
             </foreach>
-            <if test="semesterId != null">
-                and be.semester_id = #{semesterId}
-            </if>
+            and be.semester_id = #{semesterId}
             <if test="examId != null">
                 and be.id = #{examId}
             </if>
@@ -512,9 +506,7 @@
             <foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
                 #{item}
             </foreach>
-            <if test="semesterId != null">
-                and be.semester_id = #{semesterId}
-            </if>
+            and be.semester_id = #{semesterId}
             <if test="examId != null">
                 and be.id = #{examId}
             </if>

+ 1 - 3
distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

@@ -698,9 +698,7 @@
             <foreach item="item" collection="examDetailStatus" separator="," open="(" close=")" index="">
                 #{item}
             </foreach>
-            <if test="semesterId != null">
-                and be.semester_id = #{semesterId}
-            </if>
+            and be.semester_id = #{semesterId}
             <if test="examId != null">
                 and be.id = #{examId}
             </if>