|
@@ -195,16 +195,16 @@
|
|
|
select status, count(1) counts from t_preparation
|
|
|
<where>
|
|
|
<if test="applyVerifyUserId != null and applyVerifyUserId != ''">
|
|
|
- and (user_id = #{applyVerifyUserId} or apply_verify_user_id = #{applyVerifyUserId})
|
|
|
+ and apply_verify_user_id = #{applyVerifyUserId}
|
|
|
</if>
|
|
|
<if test="userId !=null and userId !='' ">
|
|
|
and user_id = #{userId}
|
|
|
</if>
|
|
|
<if test="repairUserId!=null and repairUserId!=''">
|
|
|
- and (user_id = #{repairUserId} or repair_user_id = #{repairUserId})
|
|
|
+ and repair_user_id = #{repairUserId}
|
|
|
</if>
|
|
|
<if test="tempUserId != null and tempUserId != ''">
|
|
|
- and (user_id = #{tempUserId} or receive_verify_leader = #{tempUserId}
|
|
|
+ and (receive_verify_leader = #{tempUserId}
|
|
|
or apply_verify_leader = #{tempUserId})
|
|
|
</if>
|
|
|
<if test="delUserId != null and delUserId != ''">
|