lyhzzz il y a 2 ans
Parent
commit
15e2e6b061
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      src/main/resources/mapper/sale/RepairMapper.xml

+ 5 - 2
src/main/resources/mapper/sale/RepairMapper.xml

@@ -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 &gt;= 9
+        </if>
+        <if test="param.payStatus != null and param.payStatus ==1">
+            and r.status &lt; 9
         </if>
         <if test="param.commentStatus != null ">
             and r.comment_status = #{param.commentStatus}