Browse Source

ip判断空

wangliang 1 year ago
parent
commit
5ea274e1a7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

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

@@ -729,7 +729,7 @@
             and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
         </where>
         group by
-        tee.id,tees.room_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status)
+        tee.id,tees.room_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no)
         t
         <where>
             <if test="status != null and status != '' or status == 0">
@@ -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.breachStatus is null)
                 </if>
             </if>
         </where>