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