From 8836690b1a80de3613da69b36b2321695d208661 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, 4 Dec 2020 17:23:18 +0800 Subject: [PATCH] a --- business/model/dao/dao_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/dao_user.go b/business/model/dao/dao_user.go index 1be9d2e5b..e1e27a9b9 100644 --- a/business/model/dao/dao_user.go +++ b/business/model/dao/dao_user.go @@ -277,7 +277,7 @@ func GetUserAllWaitCashPrice(db *DaoDB, userID string) (price int, err error) { func GetUserAllWaitRealCashPrice(db *DaoDB, userID string) (price int, err error) { var result = &GetUserAllWaitCashPriceResult{} sql := ` - SELECT SUM(pay_price) price FROM order WHERE user_id = ? AND status = ? AND type = ? + SELECT SUM(pay_price) price FROM ` + "`order`" + ` WHERE user_id = ? AND status = ? AND type = ? ` sqlParams := []interface{}{ userID,