This commit is contained in:
邹宗楠
2022-11-24 18:25:44 +08:00
parent c3f43c899f
commit 21b0927c53

View File

@@ -687,7 +687,7 @@ func QueryRechargeRecommend(userId []string, mobile, orderId string, page, pageS
sql += ` JOIN user u ON o.user_id = u.user_id WHERE 1=1 `
if orderId != "" {
sql += ` AND o.order_id = ? `
sql += ` AND o.order_id = ? `
sqlParams = append(sqlParams, orderId)
if err := GetRows(GetDB(), &result, sql, sqlParams...); err != nil {
return nil, 0, err