lyhzzz 2 سال پیش
والد
کامیت
15e2e6b061
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  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 ">
         <if test="param.repairManId != null ">
             and rr.sys_user_id = #{param.repairManId}
             and rr.sys_user_id = #{param.repairManId}
         </if>
         </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>
         <if test="param.commentStatus != null ">
         <if test="param.commentStatus != null ">
             and r.comment_status = #{param.commentStatus}
             and r.comment_status = #{param.commentStatus}