aa
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user