From c4c5ab3bfd7e2e3008dc51247c210fa4b4dc1802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 8 Mar 2021 18:30:23 +0800 Subject: [PATCH] aa --- business/jxstore/cms/store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 0086a985d..f6c02b6c9 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -1260,10 +1260,10 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs if len(thingMaps) > 0 { //如果平台ID为空(未创建到京东) if thingMaps[0].VendorThingID == "" { + isSyncSkus = true + appCodeList = append(appCodeList, list1[0].VendorOrgCode) //并且同步标志还没有带待创建(因为addskuname现在建到thingmap上不会带待创建标志了) if !model.IsSyncStatusNew(thingMaps[0].SyncStatus) { - isSyncSkus = true - appCodeList = append(appCodeList, list1[0].VendorOrgCode) OnCreateThing(ctx, db, vendorOrgCodes, int64(v.RealSkuID), model.ThingTypeSku, model.SyncFlagNewMask, false) } }