Commit a6f4cf9b by 王世昌

Merge branch 'feature/20210720-富有对接折扣券新增折扣参数-wsc'

parents ebc380a7 75edf1b3
......@@ -1288,7 +1288,8 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
discount = new BigDecimal(discountAmount).divide(BigDecimal.valueOf(100),1,BigDecimal.ROUND_DOWN);
}
coupon.setDiscount(discount);
coupon.setDiscountAmount(0);
// 暂时先不上
coupon.setDiscountAmount(Integer.valueOf(each.getDiscountAmount()));
}else {
coupon.setDiscount(BigDecimal.ZERO);
coupon.setDiscountAmount(Integer.valueOf(each.getDiscountAmount()));
......
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