提交代码

master
胡锐 3 months ago committed by yuanye
parent d556349330
commit acd441bc1b
  1. 2
      service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java

@ -273,7 +273,7 @@ public class BsOrderServiceImpl implements BsOrderService {
} }
// 商品订单总优惠 // 商品订单总优惠
childOrder.setTotalDeductionPrice(childOrder.getCouponDiscountPrice().add(new BigDecimal(childOrder.getIntegralDiscountPrice()))); childOrder.setTotalDeductionPrice(childOrder.getCouponDiscountPrice().add(new BigDecimal(childOrder.getIntegralDiscountPrice()).divide(new BigDecimal("100"))));
// 可退款金额 产品总价 - 优惠总价 // 可退款金额 产品总价 - 优惠总价
childOrder.setSurplusRefundPrice(childOrder.getProductTotalPrice().subtract(childOrder.getTotalDeductionPrice())); childOrder.setSurplusRefundPrice(childOrder.getProductTotalPrice().subtract(childOrder.getTotalDeductionPrice()));

Loading…
Cancel
Save