This commit is contained in:
richboo111
2023-03-08 16:56:19 +08:00
parent b436579e8e
commit 9722278068

View File

@@ -281,8 +281,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
timeStr = ""
tempFenceID string
FreightTemplate = &model.FreightTemplate{
StoreID: storeID,
VendorStoreID: storeInfo.VendorStoreID,
StoreID: storeID,
}
)
if db == nil {
@@ -378,6 +377,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
}
//同步进数据库
FreightTemplate.FenceID = tempFenceID
FreightTemplate.VendorStoreID = storeInfo.VendorStoreID
if err := dao.ReplaceInsertFreight(FreightTemplate); err != nil {
globals.SugarLogger.Debug("同步数据库错误信息:%v", err)
}