|
@@ -140,8 +140,11 @@
|
|
|
<if test="param.repairManId != null ">
|
|
|
and rr.sys_user_id = #{param.repairManId}
|
|
|
</if>
|
|
|
- <if test="param.payStatus != null ">
|
|
|
- and rp.pay_status = #{param.payStatus}
|
|
|
+ <if test="param.payStatus != null and param.payStatus ==0">
|
|
|
+ and r.status >= 9
|
|
|
+ </if>
|
|
|
+ <if test="param.payStatus != null and param.payStatus ==1">
|
|
|
+ and r.status < 9
|
|
|
</if>
|
|
|
<if test="param.commentStatus != null ">
|
|
|
and r.comment_status = #{param.commentStatus}
|