diff --git a/business/partner/delivery/fn/waybill.go b/business/partner/delivery/fn/waybill.go index 067e9a43c..e3c7071ac 100644 --- a/business/partner/delivery/fn/waybill.go +++ b/business/partner/delivery/fn/waybill.go @@ -189,14 +189,14 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf // 订单状态 func OnWaybillMsg(msg *fnpsapi.OrderStatusNottify) (resp *fnpsapi.CallbackResponse) { order := &model.Waybill{ - VendorWaybillID: utils.Interface2String(msg.Param.PartnerOrderCode), - VendorWaybillID2: utils.Interface2String(msg.Param.OrderId), + VendorWaybillID: msg.Param.PartnerOrderCode, + VendorWaybillID2: utils.Int64ToStr(msg.Param.OrderId), WaybillVendorID: model.VendorIDFengNiao, - CourierName: utils.Interface2String(msg.Param.CarrierDriverName), - CourierMobile: utils.Interface2String(msg.Param.CarrierDriverPhone), - VendorStatus: utils.Interface2String(msg.Param.OrderStatus), - StatusTime: utils.Timestamp2Time(utils.MustInterface2Int64(msg.Param.PushTime)), - Remark: utils.Interface2String(msg.Param.Description), + CourierName: msg.Param.CarrierDriverName, + CourierMobile: msg.Param.CarrierDriverPhone, + VendorStatus: utils.Int2Str(msg.Param.OrderStatus), + StatusTime: utils.Timestamp2Time(msg.Param.PushTime), + Remark: msg.Param.Description, } order.VendorOrderID, order.OrderVendorID = jxutils.SplitUniversalOrderID(order.VendorWaybillID2) orderStatus, err := strconv.Atoi(order.VendorStatus)