|
@@ -973,6 +973,7 @@
|
|
GROUP BY cso.orderID
|
|
GROUP BY cso.orderID
|
|
), 0))
|
|
), 0))
|
|
- IFNULL(co.couponAmount, 0)
|
|
- IFNULL(co.couponAmount, 0)
|
|
|
|
+ - IFNULL(IF(userBeans>0,freight,0),0)
|
|
- (SELECT IFNULL(SUM(cso.shopOtherFee), 0)
|
|
- (SELECT IFNULL(SUM(cso.shopOtherFee), 0)
|
|
FROM cm_shop_order cso
|
|
FROM cm_shop_order cso
|
|
WHERE cso.orderID = co.orderID)
|
|
WHERE cso.orderID = co.orderID)
|