From 220780b2ba8d9e08753df27253c069f218dc7f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 16 Mar 2020 11:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=A2=E5=8D=95=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5orderNew=E8=AF=95=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 286908e54..350deab37 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -837,6 +837,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) { } jxOrder.Skus = skus outOrders, _, _ := tryToSplitMatterOrder(jxOrder) + globals.SugarLogger.Debugf("tryToSplitMatterOrder,[%v]", utils.Format4Output(outOrders, false)) for _, v := range outOrders { outJxOrder, deliveryAddress, err := generateOrder(jxcontext.AdminCtx, v, order.AddressID, order.FromStoreID) if err != nil { @@ -847,7 +848,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) { if err = err2; err == nil { order2.AddressID = order.AddressID order2.Status = model.OrderStatusDelivering - callNewOrder(order2) + partner.CurOrderManager.OnOrderNew(order2, model.Order2Status(order2)) } } //刷新一下库存