Преглед на файлове

临时修改考试批次查询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