This commit is contained in:
richboo111
2022-10-20 10:30:28 +08:00
parent 5a019b2ce2
commit 73d704a9af
2 changed files with 38 additions and 16 deletions

View File

@@ -262,7 +262,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
if storeInfo.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreStatus) != 0 {
errList.AddErr(P.UpdateStoreStatus(jxcontext.AdminCtx, storeInfo.VendorOrgCode, storeID, storeInfo.VendorStoreID, mergedStoreStatus))
}
_, err3 := api.EditStore(params)
err3 := api.EditStore(params)
if err3 != nil {
errList.AddErr(err3)
} else {
@@ -584,7 +584,7 @@ func (P *PurchaseHandler) UpdateStoreOpTime(ctx *jxcontext.Context, vendorOrgCod
},
}
if globals.EnableDdStoreWrite {
_, err = getAPI(vendorOrgCode, storeID, vendorStoreID).EditStore(params)
err = getAPI(vendorOrgCode, storeID, vendorStoreID).EditStore(params)
}
return err
}