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