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