From 3c9d25c080ff4fb5269f3285940f16f909f5cfc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 12 Aug 2020 11:00:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E8=BF=90=E5=8D=95=E9=85=8D=E9=80=81?= =?UTF-8?q?=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/order.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 993655a8a..2c033fbb8 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -1543,10 +1543,7 @@ func UpdateWaybillDesiredFee(ctx *jxcontext.Context, vendorOrderID string, desir if order == nil { return fmt.Errorf("未找到该订单!orderID: %v", vendorOrderID) } - bill, err := partner.CurOrderManager.LoadWaybill(order.VendorWaybillID, order.WaybillVendorID) - if err != nil { - return err - } + bill, _ := partner.CurOrderManager.LoadWaybill(order.VendorWaybillID, order.WaybillVendorID) if bill == nil { waybill := &model.Waybill{ VendorOrderID: order.VendorOrderID,