升级差价

This commit is contained in:
曹磊 2024-07-22 20:27:17 +08:00
parent 24552db0ba
commit 1b97280283
1 changed files with 5 additions and 3 deletions

View File

@ -1533,9 +1533,11 @@ public class OrdersServiceImpl extends ServiceImpl<OrdersDao, Orders> 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);
//项目价格 = 会员金额