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