1
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user