diff --git a/business/jxstore/promotion/jd_promotion.go b/business/jxstore/promotion/jd_promotion.go index f9a8f21a5..7e9ccdd19 100644 --- a/business/jxstore/promotion/jd_promotion.go +++ b/business/jxstore/promotion/jd_promotion.go @@ -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))