diff --git a/business/jxutils/jxutils.go b/business/jxutils/jxutils.go index 327f28075..afe67673b 100644 --- a/business/jxutils/jxutils.go +++ b/business/jxutils/jxutils.go @@ -591,9 +591,9 @@ func RefreshOrderSkuRelated(order *model.GoodsOrder) *model.GoodsOrder { func RefreshOrderEarningPrice2(order *model.GoodsOrder, payPercentage int) *model.GoodsOrder { if order.EarningType == model.EarningTypePoints { if order.VendorID == model.VendorIDJDShop || order.VendorID == model.VendorIDJX { - order.NewEarningPrice = order.TotalShopMoney * int64((100 - payPercentage/2)) / 100 - } else { order.NewEarningPrice = order.TotalShopMoney * int64((100 - payPercentage)) / 100 + } else { + order.NewEarningPrice = order.TotalShopMoney * int64((100 - payPercentage/2)) / 100 } } else { order.NewEarningPrice = order.EarningPrice