From 531aee3f71c2e2c8242b3b7020eeb8eb0b3a3e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 19 Mar 2021 15:14:27 +0800 Subject: [PATCH] aa --- business/model/dao/report.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,