aa
This commit is contained in:
@@ -259,7 +259,7 @@ func GetPayStatistics(db *DaoDB, userID string, pop int, cityCodes []int, mobile
|
||||
rSQL3, rSQLParams3 := getFromSql(model.OrderTypeCash, model.OrderStatusFinished, "t3", userID, pop, cityCodes, mobile, fromTime, toTime, orderTypes)
|
||||
sql += rSQL3 + ","
|
||||
sqlParams = append(sqlParams, rSQLParams3...)
|
||||
sql += `(SELECT SUM(IFNULL(b.account_balance,0)) account_balacne
|
||||
sql += `(SELECT SUM(IFNULL(b.account_balance,0)) account_balance
|
||||
FROM user a
|
||||
JOIN user_bill b ON a.user_id = b.user_id
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user