From bd432d00f216f407483ad2b208de6a8ed5926922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 28 Apr 2020 10:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=A2=E5=8D=95=E9=85=8D?= =?UTF-8?q?=E9=80=81=E8=B4=B9=E6=B5=8B=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, 1 insertion(+), 2 deletions(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 71eefd1e1..a45142172 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -1534,14 +1534,13 @@ func tryToSplitMatterOrder(jxOrder *JxOrderInfo) (outOrders []*JxOrderInfo, frei } } for _, v := range outOrders { - fmt.Println("v", utils.Format4Output(v, false)) - fmt.Println("freightPrice", freightPrice) if v.Weight <= 3000 { freightPrice += 500 } else if v.Weight > 3000 && v.Weight <= splitMatterOrderMinWeight { freightPrice += utils.Float64TwoInt64(500 + math.Ceil((utils.Int2Float64(v.Weight)-3000)/1000)*200) } } + fmt.Println("outOrders", outOrders) return outOrders, freightPrice, err }