From ec45be2b779a5e18269a89d29843e308e3979cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 14 Feb 2020 16:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E8=AE=A9=E9=9D=9E?= =?UTF-8?q?=E9=A5=BF=E9=B2=9C=E8=BE=BE=E9=97=A8=E5=BA=97=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E9=A5=BF=E9=B2=9C=E8=BE=BE=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 84f21e1e2..2158b9971 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -368,7 +368,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, isFocus bool sql += " AND t3.id IN (" + dao.GenQuestionMarks(len(storeIDs)) + ")" sqlParams = append(sqlParams, storeIDs) if len(storeIDs) == 1 { - sql += " AND IF(INSTR(t3.name," + model.ExdStoreName + ") > 0, t2.exd_id <> '', t2.exd_id = '') " + sql += " AND IF(INSTR(t3.name,'" + model.ExdStoreName + "') > 0, t2.exd_id <> '', t2.exd_id = '')" } } if len(skuIDs) > 0 {