From 0a8fadd84333d69190f57e1a8484cbca30f4f282 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, 27 Nov 2020 17:22:04 +0800 Subject: [PATCH] test --- business/jxstore/cms/sync_store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 5443a21e0..c72db7ab5 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -466,7 +466,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 && storeID != model.JdShopMainStoreID2 { - if sku.SkuSyncStatus >= model.SyncFlagNewMask { + if model.IsSyncStatusNew(sku.SkuSyncStatus) { sku.SkuSyncStatus = sku.SkuSyncStatus - model.SyncFlagNewMask } }