From ec1a3deee636ca5f90c11559355dfaafc39df31a Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 14 Nov 2018 10:39:01 +0800 Subject: [PATCH] - fk --- business/jxstore/promotion/jd_promotion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))