From 1b9728028380f61568740218baf7d20c1e8ac447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Mon, 22 Jul 2024 20:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=B7=AE=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/artificer/service/impl/OrdersServiceImpl.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sqx/modules/artificer/service/impl/OrdersServiceImpl.java b/src/main/java/com/sqx/modules/artificer/service/impl/OrdersServiceImpl.java index 0e1ee48..27b6fe3 100644 --- a/src/main/java/com/sqx/modules/artificer/service/impl/OrdersServiceImpl.java +++ b/src/main/java/com/sqx/modules/artificer/service/impl/OrdersServiceImpl.java @@ -1533,9 +1533,11 @@ public class OrdersServiceImpl extends ServiceImpl implements // BigDecimal chajiaPriceMarkup = chajiaTechnicianMoney.add(chajia); - BigDecimal chajiaVipMoney = chajia.multiply(orders.getVipRate()).divide(new BigDecimal(100)); - chajiaVipMoney = chajiaVipMoney.setScale(0,BigDecimal.ROUND_UP); - BigDecimal chajiaVipReductionMoney = chajia.subtract(chajiaVipMoney); + BigDecimal chajiaVipMoney = chajia.subtract(vipReductionMoney); + +// BigDecimal chajiaVipMoney = chajia.multiply(orders.getVipRate()).divide(new BigDecimal(100)); +// chajiaVipMoney = chajiaVipMoney.setScale(0,BigDecimal.ROUND_UP); +// BigDecimal chajiaVipReductionMoney = chajia.subtract(chajiaVipMoney); // orders.setVipReductionMoney(chajiaVipReductionMoney); //项目价格 = 会员金额