yangdamao 1 年之前
父節點
當前提交
2185b6a697
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

+ 4 - 4
zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

@@ -227,10 +227,10 @@
         <if test="checkEndTime != null and checkEndTime != ''">
             AND ot.check_time <![CDATA[ <= ]]> #{checkEndTime}
         </if>
-        <if test="creditStatus != null and creditStatus != '' and creditStatus == 0">
+        <if test="creditStatus != null and creditStatus == 0">
             AND ot.order_received <![CDATA[ < ]]> ot.pay_price
         </if>
-        <if test="creditStatus != null and creditStatus != '' and creditStatus == 1">
+        <if test="creditStatus != null and creditStatus == 1">
             AND ot.pay_price = ot.order_received
         </if>
         <if test="invoiceStatus != null and invoiceStatus != ''">
@@ -328,10 +328,10 @@
         <if test="checkEndTime != null and checkEndTime != ''">
             AND o.pay_time <![CDATA[ <= ]]> #{checkEndTime}
         </if>
-        <if test="creditStatus != null and creditStatus != '' and creditStatus == 0">
+        <if test="creditStatus != null and creditStatus == 0">
             AND o.order_received <![CDATA[ < ]]> o.pay_price
         </if>
-        <if test="creditStatus != null and creditStatus != '' and creditStatus == 1">
+        <if test="creditStatus != null and creditStatus == 1">
             AND o.pay_price = o.order_received
         </if>
         <if test="repairSign != null and repairSign != '' and repairSign == 1">