This commit is contained in:
gazebo
2019-08-14 10:32:15 +08:00
parent 37ade34458
commit 667e27d62e

View File

@@ -230,7 +230,7 @@ func (p *PurchaseHandler) RefreshAllStoresID(ctx *jxcontext.Context, parentTask
"outSystemId": utils.Int2Str(int(store.ID)), "outSystemId": utils.Int2Str(int(store.ID)),
} }
if step != stepCount-1 { if step != stepCount-1 {
storeParams["outSystemId"] = utils.GetUUID() storeParams["outSystemId"] = store.VendorStoreID
} }
if globals.EnableJdStoreWrite { if globals.EnableJdStoreWrite {
err = api.JdAPI.UpdateStoreInfo4Open(store.VendorStoreID, ctx.GetUserName(), storeParams) err = api.JdAPI.UpdateStoreInfo4Open(store.VendorStoreID, ctx.GetUserName(), storeParams)