积分抵扣问题
This commit is contained in:
parent
e866456f82
commit
410a0bc7c1
|
|
@ -287,6 +287,8 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||
if (param.getUserId() == null) {
|
||||
throw new ValidateException("生成支付订单失败,请选择用户后再使用积分抵扣");
|
||||
}
|
||||
} else if (param.getPointsDiscountAmount().compareTo(BigDecimal.ZERO) > 0) {
|
||||
throw new ValidateException("生成支付订单失败,已使用积分抵扣,积分数量不正确");
|
||||
}
|
||||
ShopUser shopUser = null;
|
||||
if (param.getUserId() != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue