From 27b4fa041b910d61b6e9fcd3fcdd0c51dbddc6c4 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 24 Oct 2019 18:11:05 +0800 Subject: [PATCH] up --- business/jxstore/cms/sync_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 1e8a31b88..ed53f3799 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -640,8 +640,8 @@ func amendAndPruneStoreStuff(ctx *jxcontext.Context, parentTask tasksch.ITask, v if !model.IsSyncStatusNew(v.StoreSkuSyncStatus) { syncStatus = model.SyncFlagNewMask } - } else if isForceUpdate && !model.IsSyncStatusUpdate(v.StoreSkuSyncStatus) { - syncStatus = model.SyncFlagModifiedMask + } else if isForceUpdate { + syncStatus = model.SyncFlagStoreSkuModifiedMask } if syncStatus != 0 { skuBind := &model.StoreSkuBind{}