zhijiezhao 3 anos atrás
pai
commit
53954578ee
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main/resources/mapper/OrderCommonMapper.xml

+ 1 - 1
src/main/resources/mapper/OrderCommonMapper.xml

@@ -214,7 +214,7 @@
         cop.productImage AS image,
         cop.productImage AS image,
         cop.price,
         cop.price,
         cop.shopName,
         cop.shopName,
-        IF(cop.shopid=998 AND co.freight> 0,co.freight,cop.price)AS costPrice,
+        IF(cop.shopid=998 AND co.freight> 0,co.freight,cop.costPrice)AS costPrice,
         cop.normalPrice,
         cop.normalPrice,
         cop.ladderPriceFlag,
         cop.ladderPriceFlag,
         cop.discountPrice,
         cop.discountPrice,