统计分析退款金额核对
This commit is contained in:
@@ -141,7 +141,7 @@ FROM product_order where OrderState=20 or OrderState=90 or OrderState=40 or Orde
|
|||||||
|
|
||||||
sum(
|
sum(
|
||||||
CASE OrderType
|
CASE OrderType
|
||||||
WHEN 5 THEN PaymentAmount
|
WHEN 5 THEN RefundAmount
|
||||||
ELSE 0 END) 'RefundAmount'
|
ELSE 0 END) 'RefundAmount'
|
||||||
|
|
||||||
FROM product_order where {where} GROUP BY ProductName, PackageName order by ProductName, PackageName";
|
FROM product_order where {where} GROUP BY ProductName, PackageName order by ProductName, PackageName";
|
||||||
|
|||||||
Reference in New Issue
Block a user