美团订单完全忽略运单定时器
This commit is contained in:
@@ -817,6 +817,8 @@ func isStatusNewer(vendorID int, curStatusType, curStatus, statusType, status in
|
||||
if curStatusType == scheduler.TimerStatusTypeWaybill && statusType == scheduler.TimerStatusTypeOrder && status <= model.OrderStatusFinishedPickup {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
return statusType == scheduler.TimerStatusTypeOrder && status >= curStatus
|
||||
}
|
||||
if curStatusType == scheduler.TimerStatusTypeWaybill {
|
||||
return curStatus != status
|
||||
|
||||
Reference in New Issue
Block a user