feat: 霸王餐充值修改
This commit is contained in:
@@ -460,6 +460,9 @@ public class PayService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shouldPayAmount = shouldPayAmount.subtract(userCouponVo.getDiscountAmount());
|
shouldPayAmount = shouldPayAmount.subtract(userCouponVo.getDiscountAmount());
|
||||||
|
if (shouldPayAmount.compareTo(BigDecimal.ZERO) < 0) {
|
||||||
|
shouldPayAmount = new BigDecimal("0.01");
|
||||||
|
}
|
||||||
|
|
||||||
TbShopCoupon tbShopCoupons = mpShopCouponMapper.selectById(userCouponVo.getCouponId());
|
TbShopCoupon tbShopCoupons = mpShopCouponMapper.selectById(userCouponVo.getCouponId());
|
||||||
if (tbShopCoupons == null) {
|
if (tbShopCoupons == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user