修复充值金额没有计算上奖励金额
This commit is contained in:
@ -85,6 +85,7 @@ public class YxUserRechargeServiceImpl extends BaseServiceImpl<UserRechargeMappe
|
|||||||
|
|
||||||
//最终充值金额
|
//最终充值金额
|
||||||
BigDecimal newPrice = NumberUtil.add(userRecharge.getPrice(),user.getNowMoney());
|
BigDecimal newPrice = NumberUtil.add(userRecharge.getPrice(),user.getNowMoney());
|
||||||
|
newPrice = newPrice.add(userRecharge.getGivePrice());
|
||||||
|
|
||||||
|
|
||||||
//增加流水
|
//增加流水
|
||||||
|
Reference in New Issue
Block a user