From dca074009805b135468df03e65097259437f3291 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 31 Oct 2019 17:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E5=95=86=E5=9F=8E=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E6=94=B9=E4=BB=B7=E7=94=A8=E6=88=90=E6=9C=AC?= =?UTF-8?q?=E4=BB=B7CostPrice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/cs/weimob_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/cs/weimob_order.go b/business/cs/weimob_order.go index c5f0a0ac2..932ff1d12 100644 --- a/business/cs/weimob_order.go +++ b/business/cs/weimob_order.go @@ -53,7 +53,7 @@ func changeStoreSkusByOrder(order *weimobapi.OrderDetail) { globals.SugarLogger.Debugf("changeStoreSkusByOrder storeID:%d", storeID) for _, v := range order.ItemList { nameID := int(utils.Str2Int64WithDefault(v.SkuCode, 0)) - unitPrice := v.OriginalPrice + unitPrice := v.CostPrice if nameID > 0 && (unitPrice > 0 && unitPrice < maxUnitPrice) { skuBindInfos = append(skuBindInfos, &cms.StoreSkuBindInfo{ StoreID: storeID,