霸王餐修改

This commit is contained in:
张松
2025-10-16 15:54:58 +08:00
parent 0f45681f8a
commit 8ed6fae67f

View File

@@ -149,7 +149,7 @@ public class PayServiceImpl implements PayService {
CheckOrderPay checkOrderPay = BeanUtil.copyProperties(payParam, CheckOrderPay.class);
orderInfoService.checkOrderPay(checkOrderPay.setFreeDine(true).setWithCoupon(freeConfig.getWithCoupon()).setWithPoints(freeConfig.getWithPoints()));
payParam.setAmount(payParam.getAmount().multiply(freeConfig.getRechargeTimes()));
payParam.setAmount(payParam.getAmount().multiply(BigDecimal.valueOf(freeConfig.getRechargeTimes())));
return true;
}
return false;