diff --git a/business/model/dao/report.go b/business/model/dao/report.go index dea820b3c..9c98abad4 100644 --- a/business/model/dao/report.go +++ b/business/model/dao/report.go @@ -85,7 +85,7 @@ func GetStatisticsReportForOrders(db *DaoDB, storeIDs, vendorIDs []int, fromDate JOIN ( SELECT - IF(a.jx_store_id <> 0,a.jx_store_id,store_id) store_id, + IF(a.jx_store_id <> 0,a.jx_store_id,a.store_id) store_id, COUNT(*) order_counts, SUM(sale_price) sale_price, SUM(actual_pay_price) actual_pay_price,