非商城模板不同步京东商城

This commit is contained in:
苏尹岚
2020-09-11 11:17:16 +08:00
parent 5ba44f71b0
commit 642b1a2730

View File

@@ -461,9 +461,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
var failedList []*partner.StoreSkuInfoWithErr
for _, sku := range skus {
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID {
if sku.SkuSyncStatus != 0 {
sku.SkuSyncStatus = model.SyncFlagSaleMask
}
return
}
if !useVendorPriceDirectly &&
!isSkuLockTimeValid(sku) {