From f791668f5e1dc579411e659bd243e21e48d4a4e2 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 12 Sep 2019 13:51:51 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=8F=96=E8=B4=A7=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=90=8C=E6=84=8F=E5=90=8E=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E7=8A=B6=E6=80=81=E4=B8=BA?= =?UTF-8?q?=E5=BE=85=E9=85=8D=E9=80=81?= 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, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/scheduler/defsch/defsch.go b/business/jxcallback/scheduler/defsch/defsch.go index 16ff34b09..9a479a555 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -356,7 +356,7 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod } if !isPending { if status.Status == model.OrderStatusAgreeFailedGetGoods || status.Status == model.OrderStatusDeliverFailed { - s.updateOrderByBill(order, nil, true) + s.updateOrderByBill(order, nil, status.Status != model.OrderStatusAgreeFailedGetGoods) s.removeWaybillFromMap(savedOrderInfo, order.VendorID) } }