- fk
This commit is contained in:
@@ -581,7 +581,7 @@ func GetJdPromotions(ctx *jxcontext.Context, keyword string, params map[string]i
|
||||
sql += " JOIN store st ON st.id = tt1.store_id AND st.city_code = ?"
|
||||
sqlParams = append(sqlParams, params["cityCode"].(int))
|
||||
}
|
||||
sql += "WHERE tt1.promotion_id = t1.id"
|
||||
sql += " WHERE tt1.promotion_id = t1.id"
|
||||
if params["storeID"] != nil {
|
||||
sql += " AND tt1.store_id = ?"
|
||||
sqlParams = append(sqlParams, params["storeID"].(int))
|
||||
|
||||
Reference in New Issue
Block a user