zhangyuewww 3 years ago
parent
commit
529a34f9bc

+ 4 - 4
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/PaymentManagementMapper.xml

@@ -26,8 +26,8 @@
                 AND amount_ed_payable=amount_ing_payable
             </if>
             <if test="searchType == 7">
-                AND status='已通过'
-                or status='部分付款'
+                AND (status='已通过'
+                or status='部分付款')
             </if>
         </if>
         <if test="warehouseName != null and warehouseName != ''">
@@ -127,8 +127,8 @@
                 AND amount_ed_payable=amount_ing_payable
             </if>
             <if test="searchType == 7">
-                AND status='已通过'
-                or status='部分付款'
+                AND (status='已通过'
+                or status='部分付款')
             </if>
         </if>
         <if test="managementType != null and managementType != ''">