From 5061e978ea79b7c718686af8728380ab98bfa7fc Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 16 Oct 2019 17:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=96=E8=B4=A7=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=94=B3=E8=AF=B7=E6=97=B6=EF=BC=8C=E6=B8=85=E5=8F=96?= =?UTF-8?q?=E8=B4=A7=E5=A4=B1=E8=B4=A5=E5=8F=8A=E5=8F=AC=E5=94=A4=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E9=85=8D=E9=80=81=E6=A0=87=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/scheduler/defsch/defsch.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxcallback/scheduler/defsch/defsch.go b/business/jxcallback/scheduler/defsch/defsch.go index eabf78e44..eb6d80b1e 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -377,6 +377,9 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod status.Status == model.OrderStatusApplyFailedGetGoods || //model.IsOrderUnlockStatus(status.Status) || status.Status == model.OrderStatusAgreeFailedGetGoods || status.Status == model.OrderStatusDeliverFailed { + if status.Status == model.OrderStatusApplyFailedGetGoods { + dao.ClearOrderFlag(dao.GetDB(), model.AdminName, order.VendorOrderID, order.VendorID, ^(model.OrderFlagMaskFailedGetGoods | model.OrderFlagMaskCallPMCourier)) + } if statusChanged && status.Status == model.OrderStatusApplyCancel { s.notifyUserApplyCancel(savedOrderInfo.order, status.Remark) }