This commit is contained in:
苏尹岚
2021-02-07 16:32:45 +08:00
parent a614ae4e1a
commit ba41fe49a7

View File

@@ -109,7 +109,7 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
if db == nil {
db = dao.GetDB()
}
mtapi := getAPI(getStoreVendorOrgCode(storeID), 0, "")
mtapi := getAPI(getStoreVendorOrgCode(storeID), storeID, "")
storeDetail, err := dao.GetStoreDetail(db, storeID, model.VendorIDMTWM, "")
if err != nil {
return err