1
This commit is contained in:
@@ -159,6 +159,9 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
|
||||
} else {
|
||||
storeParams.OutSystemID = store.VendorStoreID
|
||||
}
|
||||
if storeParams.OutSystemID == "" {
|
||||
storeParams.OutSystemID = utils.Int2Str(store.ID)
|
||||
}
|
||||
if store.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreName) != 0 {
|
||||
if store.VendorStoreName != "" {
|
||||
storeParams.StationName = store.VendorStoreName
|
||||
@@ -205,7 +208,6 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
|
||||
modifyCloseStatus = true
|
||||
_, storeParams.CloseStatus = JxStoreStatus2JdStatus(jxutils.MergeStoreStatus(store.Status, store.JdStoreStatus)) // 1storeParams.CloseStatus
|
||||
}
|
||||
|
||||
fillOpTimeParams(storeParams, store.GetOpTimeList())
|
||||
errList := errlist.New()
|
||||
if globals.EnableJdStoreWrite {
|
||||
|
||||
Reference in New Issue
Block a user