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