This commit is contained in:
苏尹岚
2021-03-19 14:56:55 +08:00
parent 452fef7336
commit bd2c116afe

View File

@@ -82,7 +82,7 @@ func GetStatisticsReportForOrders(db *DaoDB, storeIDs, vendorIDs []int, fromDate
LEFT JOIN user om ON om.mobile <> '' AND om.mobile = c.operator_phone
LEFT JOIN user om2 ON om2.mobile <> '' AND om2.mobile = c.operator_phone2
LEFT JOIN user om3 ON om3.mobile <> '' AND om3.mobile = c.operator_phone3
LEFT JOIN
JOIN
(
SELECT
IF(a.jx_store_id <> 0,a.jx_store_id,store_id) store_id,