记得上下班打卡 | git大法好,push需谨慎

Commit bdc7e9f5 authored by 胡佳晨's avatar 胡佳晨

不修改 优惠金额

parent e5e0883b
...@@ -324,7 +324,7 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService { ...@@ -324,7 +324,7 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService {
} }
BigDecimal voucherPrice = orderSkuVo.getSkuPriceActual().subtract(price); BigDecimal voucherPrice = orderSkuVo.getSkuPriceActual().subtract(price);
orderSkuVo.setPriceModify(orderSkuVo.getPriceModify().add(price)); orderSkuVo.setPriceModify(orderSkuVo.getPriceModify().add(price));
orderSkuVo.setPriceVoucher(orderSkuVo.getPriceVoucher().add(voucherPrice)); // orderSkuVo.setPriceVoucher(orderSkuVo.getPriceVoucher().add(voucherPrice));
orderSkuVo.setSkuPriceActual(orderSkuVo.getSkuPriceActual().subtract(voucherPrice)); orderSkuVo.setSkuPriceActual(orderSkuVo.getSkuPriceActual().subtract(voucherPrice));
orderVo.setPriceTotal(orderVo.getPriceTotal().subtract(voucherPrice)); orderVo.setPriceTotal(orderVo.getPriceTotal().subtract(voucherPrice));
orderVo.setPriceModify(orderVo.getPriceModify().add(voucherPrice)); orderVo.setPriceModify(orderVo.getPriceModify().add(voucherPrice));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment