拒绝审核修改

This commit is contained in:
张松 2025-04-16 16:56:38 +08:00
parent 17b05be86f
commit 02226f183f
1 changed files with 17 additions and 7 deletions

View File

@ -894,6 +894,13 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
} }
private void backCashAmount(CashOut entity) { private void backCashAmount(CashOut entity) {
if (entity.getUserType() == 2) {
SysUserMoneyDetails details = new SysUserMoneyDetails(
entity.getUserId(), entity.getUserId(), null, "提现失败存入余额", 4, 1, 2,
new BigDecimal(entity.getMoney()), "提现失败存入余额" + entity.getMoney() + "", 1);
sysUserMoneyDetailsService.save(details);
sysUserMoneyService.updateSysMoney(1, entity.getUserId(), Double.parseDouble(entity.getMoney()));
}else {
updateByUserId(entity); updateByUserId(entity);
UserMoneyDetails userMoneyDetails = new UserMoneyDetails( UserMoneyDetails userMoneyDetails = new UserMoneyDetails(
entity.getUserId(), entity.getSysUserId(), null, "[提现退款]", 4, 1, 2, entity.getUserId(), entity.getSysUserId(), null, "[提现退款]", 4, 1, 2,
@ -903,6 +910,9 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
userMoneyService.updateAmount(1, entity.getUserId(), Convert.toDouble(entity.getMoney())); userMoneyService.updateAmount(1, entity.getUserId(), Convert.toDouble(entity.getMoney()));
} }
}
/** /**
* 批量审核 * 批量审核
* *