1
This commit is contained in:
@@ -622,6 +622,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
||||
if order.Status > model.OrderStatusEndBegin {
|
||||
s.ProxyCancelWaybill(order, bill, partner.CancelWaybillReasonNotAcceptIntime, partner.CancelWaybillReasonStrNotAcceptIntime)
|
||||
s.SelfDeliverDelivered(order, "自送或三方")
|
||||
partner.CurOrderManager.OnOrderMsg(order, "订单处于结束状态来的运单", "取消三方运单,转自送")
|
||||
}
|
||||
// 判断订单来源与运单是否为同一来源
|
||||
if model.IsWaybillPlatformOwn(bill) {
|
||||
@@ -639,7 +640,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
||||
// 如果转自送失败,且取消三方失败,循环多次转自送
|
||||
s.swtich2SelfDeliverWithRetry(savedOrderInfo, bill, switch2SelfDeliverRetryCount, switch2SelfDeliverRetryGap)
|
||||
}
|
||||
partner.CurOrderManager.OnOrderMsg(order, "自送出设置失败", err.Error())
|
||||
partner.CurOrderManager.OnOrderMsg(order, "转自送失败,并多次转自送", err.Error())
|
||||
}
|
||||
s.notify3rdPartyWaybill(order, bill, isBillAlreadyCandidate)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user