wangliang 4 år sedan
förälder
incheckning
861582ace1
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 3 - 0
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -164,6 +164,9 @@
                 and t.monitor_status_source = #{monitorStatusSource}
             </if>
                 and s.enable = 1
+                and tee.enable = 1
+                and teea.enable = 1
+                and teea.finish_time > now()
         </where>
     </sql>