This commit is contained in:
richboo111
2022-10-10 15:24:24 +08:00
parent 3c2e64ec7e
commit b31a2e697e

View File

@@ -189,9 +189,9 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
}
}
}
globals.SugarLogger.Debug("CreateStore2 return storeIDs==========", storeIDs)
FreightTemplate.StoreID = storeDetail.Store.ID
FreightTemplate.VendorStoreID = storeIDs
globals.SugarLogger.Debug("CreateStore2 return storeIDs,FreightTemplate.StoreID==========", storeIDs, FreightTemplate.StoreID)
_, err = dao.UpdateEntity(db, FreightTemplate, "StoreID", "VendorStoreID")
if err != nil {
errList.AddErr(fmt.Errorf("db update storeID,vendorStoreID defeat on :%v", err))