From 78fd668f8bd700bdd2185d92368d8240217ccc21 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 6 May 2021 18:06:23 +0800 Subject: [PATCH] aa --- business/jxcallback/orderman/order.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 3a89beb48..22fbd8652 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -1823,9 +1823,9 @@ func RefreshOrderSkuInfo(ctx *jxcontext.Context, vendorOrderID string, vendorID, return fmt.Errorf("未找到此门店商品!") } storeSku := storeSkus[0] - if v.ShopPrice == v.EarningPrice { - v.EarningPrice = int64(math.Round(float64(storeSku.Price) * float64(order.OrderPayPercentage) / 100)) - } + //if v.ShopPrice == v.EarningPrice { + v.EarningPrice = int64(math.Round(float64(storeSku.Price) * float64(order.OrderPayPercentage) / 100)) + //} v.ShopPrice = int64(storeSku.Price) dao.UpdateEntity(db, v, "ShopPrice", "EarningPrice") return err