diff --git a/cash-service/order-service/src/main/resources/mapper/ShopTableOrderStatisticMapper.xml b/cash-service/order-service/src/main/resources/mapper/ShopTableOrderStatisticMapper.xml index d0a45d20d..76ad1c70d 100644 --- a/cash-service/order-service/src/main/resources/mapper/ShopTableOrderStatisticMapper.xml +++ b/cash-service/order-service/src/main/resources/mapper/ShopTableOrderStatisticMapper.xml @@ -34,5 +34,6 @@ AND `order`.trade_day >= #{beginDate} AND `order`.trade_day <= #{endDate} group by `order`.trade_day, `order`.table_code, detail.product_id, detail.sku_id + order by `order`.trade_day, `order`.table_code, detail.product_id