Explorar o código

Merge branch 'dev'
1

wangliang %!s(int64=4) %!d(string=hai) anos
pai
achega
239db5f01c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      themis-business/src/main/resources/mapper/TEExamMapper.xml

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

@@ -7,9 +7,9 @@
         t.id as examId
         from
         t_e_exam t
-        <where>
+        <where> 1 = 1
+            and t.monitor_status <![CDATA[ <> ]]> 'FINISHED'
             and t.start_time <![CDATA[ <= ]]> unix_timestamp(current_timestamp()) * 1000
-            and t.end_time <![CDATA[ >= ]]> unix_timestamp(current_timestamp()) * 1000
             and t.enable = 1
             <if test="orgId != null and orgId != ''">
                 and t.org_id = #{orgId}