zhijiezhao преди 1 година
родител
ревизия
3e76fc85ac
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/resources/mappings/modules/order/ShopOrderMapper.xml

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

@@ -920,8 +920,8 @@
         c.name AS clubName,
         cdr.payWay AS payWay,
         a.onlinePayWays,
-        ifnull(cmAccountType,0) as cmAccountType,
-        ifnull(cmShopOtherFee,0) as cmShopOtherFee,
+        ifnull(a.cmAccountType,0) as cmAccountType,
+        ifnull(a.cmShopOtherFee,0) as cmShopOtherFee,
         (select sum((num+presentNum)*cmCostPrice) from cm_order_product where shopOrderId = a.shopOrderId) as
         allServeAmount
         from cm_shop_order a