From 9dda86169b223a338232c3e5d29d30e33f455245 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 21 Nov 2019 17:42:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=9B=A2=E8=AE=A2=E5=8D=95=E5=AE=8C?= =?UTF-8?q?=E5=85=A8=E5=BF=BD=E7=95=A5=E8=BF=90=E5=8D=95=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/scheduler/defsch/defsch.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxcallback/scheduler/defsch/defsch.go b/business/jxcallback/scheduler/defsch/defsch.go index 54d5b14df..3fee82298 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -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