统计金额问题
This commit is contained in:
@@ -90,8 +90,8 @@ public interface ShopOrderStatisticMapper extends BaseMapper<ShopOrderStatistic>
|
||||
*/
|
||||
@Select("SELECT" +
|
||||
" SUM(origin_amount) as orderAmount, " +
|
||||
" SUM(order_amount) as actualAmount, " +
|
||||
" SUM(origin_amount - order_amount) as discountAmount, " +
|
||||
" SUM(pay_amount) as actualAmount, " +
|
||||
" SUM(origin_amount - pay_amount) as discountAmount, " +
|
||||
" statistic_date as tradeDay" +
|
||||
" FROM" +
|
||||
" tb_shop_order_statistic " +
|
||||
|
||||
Reference in New Issue
Block a user