Commit 75edf1b3 by 王世昌

富有对接 放在4.0迭代上

parent 5b558fcd
......@@ -1303,7 +1303,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