提交代码

dev
胡锐 3 months ago
parent 8ba15a1b85
commit 1f2d3d7f7f
  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()));

Loading…
Cancel
Save