修复充值金额没有计算上奖励金额

This commit is contained in:
hupeng
2020-09-12 19:30:55 +08:00
parent c8ad192894
commit 6976bb75b0

View File

@ -85,6 +85,7 @@ public class YxUserRechargeServiceImpl extends BaseServiceImpl<UserRechargeMappe
//最终充值金额
BigDecimal newPrice = NumberUtil.add(userRecharge.getPrice(),user.getNowMoney());
newPrice = newPrice.add(userRecharge.getGivePrice());
//增加流水