优惠券数量问题
This commit is contained in:
parent
965c88eb3a
commit
d7102db1e8
|
|
@ -435,9 +435,9 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||
totalAmount.setPrice(totalAmount.getPrice().add(orderDetail.getPayAmount()));
|
||||
resultList.add(orderDetail);
|
||||
}
|
||||
if (couponNum.compareTo(BigDecimal.ZERO) != 0) {
|
||||
throw new ValidateException("生成支付订单失败,优惠券数量不正确");
|
||||
}
|
||||
// if (couponNum.compareTo(BigDecimal.ZERO) != 0) {
|
||||
// throw new ValidateException("生成支付订单失败,优惠券数量不正确");
|
||||
// }
|
||||
}
|
||||
orderDetails = resultList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue