From 3130f0fb70df01cd339f53c2074ef1aa4a1fc186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 30 Aug 2022 10:20:05 +0800 Subject: [PATCH] 1 --- 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 ba61c6f4d..d93913ba1 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -531,7 +531,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo if bill.Status == model.WaybillStatusNew { s.addWaybill2Map(savedOrderInfo, bill) if !isPending { - if order.Status >= model.OrderStatusDelivering && order.Status < model.OrderStatusEndBegin { + if order.Status >= model.OrderStatusDelivering && order.Status <= model.OrderStatusFinished { if order.DeliveryType == model.OrderDeliveryTypeStoreSelf { // 门店配送方式仅为自配送的商家在接单后,如商品已开始配送 s.SelfDeliverDelivering(order, "自配送中")