소스 검색

临时修改考试批次查询SQL,避免强制过滤监考结束的条件

luoshi 4 년 전
부모
커밋
d9f1abb757
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      themis-business/src/main/resources/mapper/TEExamMapper.xml

+ 2 - 1
themis-business/src/main/resources/mapper/TEExamMapper.xml

@@ -74,7 +74,8 @@
         where
         t1.id = t.update_id) as updateName
         from t_e_exam t
-        <where> t.monitor_status <![CDATA[ <> ]]> 'FINISHED'
+        <where> 1=1
+            <!--and t.monitor_status <![CDATA[ <> ]]> 'FINISHED'-->
             <if test="userId != null and userId != ''">
                 and t.start_time <![CDATA[ <= ]]> unix_timestamp(current_timestamp()) * 1000
                 and t.end_time <![CDATA[ >= ]]> unix_timestamp(current_timestamp()) * 1000