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) } }