浏览代码

BUG修复

wangliang 1 年之前
父节点
当前提交
2c84a80d71
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 3 - 3
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -689,7 +689,7 @@
         tees.id and (toer.status = 'FINISHED' or toer.status = 'PERSISTED') and toer.first_start_time is not null) as
         statusTemp,
         <!--tes.mobile_number as mobileNumber,-->
-        t.breach_status as breachStatus,
+        t.breach_status as breachStatusTemp,
         tees.class_no as classNo
         from
         t_e_exam_student tees
@@ -744,10 +744,10 @@
             </if>
             <if test="breachStatus != null and breachStatus != '' or breachStatus == 0">
                 <if test="breachStatus == 0">
-                    and t.breachStatus = #{breachStatus}
+                    and t.breachStatusTemp = #{breachStatus}
                 </if>
                 <if test="breachStatus == 1">
-                    and (t.breachStatus = #{breachStatus} or t.breachStatus is null)
+                    and (t.breachStatusTemp = #{breachStatus} or t.breachStatusTemp is null)
                 </if>
             </if>
         </where>