霸王餐修改
This commit is contained in:
@@ -149,7 +149,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
|
|
||||||
CheckOrderPay checkOrderPay = BeanUtil.copyProperties(payParam, CheckOrderPay.class);
|
CheckOrderPay checkOrderPay = BeanUtil.copyProperties(payParam, CheckOrderPay.class);
|
||||||
orderInfoService.checkOrderPay(checkOrderPay.setFreeDine(true).setWithCoupon(freeConfig.getWithCoupon()).setWithPoints(freeConfig.getWithPoints()));
|
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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user