From 31c746f639f13c9069af8f09521b14fa2854aa44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 4 Jan 2021 11:31:36 +0800 Subject: [PATCH] aa --- business/model/dao/dao_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index fe2a7896f..47ac825e5 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -278,7 +278,7 @@ func GetPayStatistics(db *DaoDB, userID string, pop int, cityCodes []int, mobile } } sql2 += ` - LEFT JOIN user_bill c + LEFT JOIN user_bill c ON c.user_id = a.user_id LEFT JOIN bill_expend d ON d.bill_id = c.bill_id AND d.type = ? WHERE a.status = ? AND a.deleted_at = ? `