From 0f02437823c041badf469b33e0fbaa366e23cc82 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 12 May 2019 09:50:27 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=BC=BA=E5=88=B6=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E7=8A=B6=E6=80=81=E8=87=B3=E5=B0=91=E6=98=AF?= =?UTF-8?q?=E6=8E=A5=E5=8D=95=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/order.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index ba56ab85a..8b7a459a6 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -96,7 +96,9 @@ func (c *OrderManager) OnOrderAdjust(order *model.GoodsOrder, orderStatus *model panic(r) } }() - if order.Status == model.OrderStatusUnknown { + // 出现过调整单后,状态回到新订单状态,比如:911350836000622 + // 不完全确定,加一个处理 + if order.Status < model.OrderStatusAccepted { order.Status = model.OrderStatusAccepted } isDuplicated, err := addOrderOrWaybillStatus(orderStatus, db)