|
@@ -195,7 +195,7 @@
|
|
|
count(id) as totalNumOfOrder,
|
|
count(id) as totalNumOfOrder,
|
|
|
cast(ifnull(sum(money),0)/100 as decimal(11,2)) as totalOrderAmount,
|
|
cast(ifnull(sum(money),0)/100 as decimal(11,2)) as totalOrderAmount,
|
|
|
count(if(status = 'refund',1,NULL)) as totalNumOfRefundOrder,
|
|
count(if(status = 'refund',1,NULL)) as totalNumOfRefundOrder,
|
|
|
- cast(sum(if(status = 'refund',ifnull(refund_money,0),0)) as decimal(11,2)) as totalRefundAmount
|
|
|
|
|
|
|
+ cast(sum(if(status = 'refund',ifnull(refund_money,0),0))/100 as decimal(11,2)) as totalRefundAmount
|
|
|
from `order_don` where status not in
|
|
from `order_don` where status not in
|
|
|
<foreach collection="noOrderStatus" item="item" open="(" separator="," close=")">
|
|
<foreach collection="noOrderStatus" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
#{item}
|