Browse Source

线上分账bugfix

zhijiezhao 1 year ago
parent
commit
ce0e5525e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mappings/modules/order/ShopOrderMapper.xml

+ 1 - 1
src/main/resources/mappings/modules/order/ShopOrderMapper.xml

@@ -1064,7 +1064,7 @@
                  LEFT JOIN cm_order_product cop ON a.shopOrderID = cop.shopOrderID
                  LEFT JOIN product p ON cop.productID = p.productID
         WHERE co.organizeID = 0
-          AND co.refundType != 2
+          AND a.refundStatus = 1
           AND co.delFlag = 0
           AND co.orderType != 2
           AND a.delFlag = 0