This commit is contained in:
苏尹岚
2020-11-19 17:09:44 +08:00
parent ebec62c922
commit c241149092

View File

@@ -432,9 +432,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
if err != nil || len(skus) == 0 {
return err
}
if vendorID == model.VendorIDJDShop && storeID == model.JdShopMainStoreID2 {
globals.SugarLogger.Debugf("syncStoreSkuNew", utils.Format4Output(skus, false))
}
if len(excludeSkuIDs) > 0 {
excludeSkuMap := jxutils.IntList2Map(excludeSkuIDs)
var skus2 []*dao.StoreSkuSyncInfo
@@ -468,7 +465,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
now := jxutils.OperationTime2HourMinuteFormat(time.Now())
var failedList []*partner.StoreSkuInfoWithErr
for _, sku := range skus {
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID {
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID && storeID != model.JdShopMainStoreID2 {
return
}
if !useVendorPriceDirectly &&