aa
This commit is contained in:
@@ -291,7 +291,8 @@ func Init() {
|
|||||||
InitEx()
|
InitEx()
|
||||||
cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true)
|
cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true)
|
||||||
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
|
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
|
||||||
|
curDate := utils.Time2Date(time.Now())
|
||||||
|
orderman.FixedOrderManager.AmendMissingOrders(jxcontext.AdminCtx, []int{model.VendorIDJD, model.VendorIDMTWM, model.VendorIDEBAI}, 0, curDate.Add(-72*time.Hour), curDate, true, true)
|
||||||
//只传toDate默认刷新toDate到5天以前的订单
|
//只传toDate默认刷新toDate到5天以前的订单
|
||||||
orderman.RefreshOrdersWithoutJxStoreID(jxcontext.AdminCtx, "", "", true, true)
|
orderman.RefreshOrdersWithoutJxStoreID(jxcontext.AdminCtx, "", "", true, true)
|
||||||
//禁用没有绑定的门店
|
//禁用没有绑定的门店
|
||||||
|
|||||||
@@ -52,5 +52,8 @@ func (c *PurchaseHandler) callbackMsg2Waybill(msg *mtwmapi.CallbackMsg) (retVal
|
|||||||
|
|
||||||
VendorOrgCode: msg.AppID,
|
VendorOrgCode: msg.AppID,
|
||||||
}
|
}
|
||||||
|
if retVal.StatusTime == utils.DefaultTimeValue {
|
||||||
|
retVal.StatusTime = getTimeFromTimestamp(utils.Str2Int64(msg.FormData.Get("timestamp")))
|
||||||
|
}
|
||||||
return retVal
|
return retVal
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user