aa
This commit is contained in:
@@ -1260,10 +1260,10 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
|||||||
if len(thingMaps) > 0 {
|
if len(thingMaps) > 0 {
|
||||||
//如果平台ID为空(未创建到京东)
|
//如果平台ID为空(未创建到京东)
|
||||||
if thingMaps[0].VendorThingID == "" {
|
if thingMaps[0].VendorThingID == "" {
|
||||||
|
isSyncSkus = true
|
||||||
|
appCodeList = append(appCodeList, list1[0].VendorOrgCode)
|
||||||
//并且同步标志还没有带待创建(因为addskuname现在建到thingmap上不会带待创建标志了)
|
//并且同步标志还没有带待创建(因为addskuname现在建到thingmap上不会带待创建标志了)
|
||||||
if !model.IsSyncStatusNew(thingMaps[0].SyncStatus) {
|
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)
|
OnCreateThing(ctx, db, vendorOrgCodes, int64(v.RealSkuID), model.ThingTypeSku, model.SyncFlagNewMask, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user