Răsfoiți Sursa

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

luoshi 4 ani în urmă
părinte
comite
d9f1abb757

+ 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