@@ -206,9 +206,15 @@
<if test="type ==0">
and status in (1)
</if>
- <if test="type ==1 or type ==2">
+ <if test="type ==1">
and status in (0,2)
+ and sum_duration > 7
+ <if test="type ==2">
+ and status in (0,2)
+ </if>
+
</update>
<update id="userRecordMerge">
update user_record a left join project_staff_record b on a.psr_id =b.id