From 91657ce0b242ce1ee988d54c3911ea36a80d667c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 9 Apr 2020 11:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=A2=E5=8D=95=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E4=BA=BA=E5=A7=93=E5=90=8D=E4=B8=8D=E4=B8=80=E5=AE=9A?= =?UTF-8?q?=E6=98=AF=E9=97=A8=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 8b35f1c43..3567843a0 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -662,7 +662,9 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64 return nil, nil, fmt.Errorf("fromStoreID有误,[%v]", fromStoreID) } //要求配送人姓名填门店名 - deliveryAddress.ConsigneeName = storeDetail2.Name + if fromStoreID != -1 { + deliveryAddress.ConsigneeName = storeDetail2.Name + } outJxOrder.FromStoreID = fromStoreID ///规则为: 配送费用规则。起价5元(含2kg),之后每kg+2元,不足1kg按1kg计算。 if outJxOrder.Weight <= 2000 {