From 7d06a550d73c75b128e3a22ea5c1b1aae56c24bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 1 Apr 2020 17:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E4=BA=86=E9=93=B6=E8=B1=B9?= =?UTF-8?q?=E7=9A=84=E5=BA=97=E4=B8=8D=E8=87=AA=E5=8A=A8=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E7=95=85=E9=94=80=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 1fc50ca90..2918ecce6 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -3216,9 +3216,13 @@ func AutoFocusStoreSkusForTopSkus(ctx *jxcontext.Context, isAsync, isContinueWhe skuName []*model.SkuName skuNameMap = make(map[int]int) ) + //物料店和绑定了银豹的店不自动关注畅销品 if v.ID == model.MatterStoreID { return retVal, err } + if storeDetail, err2 := dao.GetStoreDetail(db, v.ID, model.VendorIDYB); err2 != nil || storeDetail.VendorStoreID != "" { + return retVal, err + } sql := ` SELECT DISTINCT a.name_id id FROM sku a