@@ -207,7 +207,7 @@
and status in (1)
</if>
<if test="type ==1 or type == 2">
- and status in (0,2)
+ and status in (0,2) and clock_status in (0,2)
and sum_duration > 7
</update>