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