@@ -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}