This commit is contained in:
richboo111
2023-09-08 17:11:19 +08:00
parent 5a10538adb
commit cf61f8ff9a

View File

@@ -544,10 +544,10 @@ func GetWaybillByStatus(urlIndex string, msg interface{}) *model.Waybill {
case sfps2.UrlIndexOrderComplete: case sfps2.UrlIndexOrderComplete:
retVal := msg.(sfps2.OrderComplete) retVal := msg.(sfps2.OrderComplete)
waybill = &model.Waybill{ waybill = &model.Waybill{
VendorWaybillID: retVal.SFOrderID, VendorWaybillID: retVal.OrderID,
WaybillVendorID: model.VendorIDSFPS, WaybillVendorID: model.VendorIDSFPS,
VendorOrderID: retVal.ShopOrderID, VendorOrderID: retVal.OutOrderID,
CourierName: retVal.OperatorName, CourierName: retVal.RiderName,
VendorStatus: utils.Float64ToStr(retVal.OrderStatus), VendorStatus: utils.Float64ToStr(retVal.OrderStatus),
StatusTime: utils.Timestamp2Time(int64(retVal.PushTime)), StatusTime: utils.Timestamp2Time(int64(retVal.PushTime)),
Remark: retVal.StatusDesc, Remark: retVal.StatusDesc,