This commit is contained in:
苏尹岚
2021-03-08 18:30:23 +08:00
parent eb0bc0b7c8
commit c4c5ab3bfd

View File

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