|
@@ -277,13 +277,13 @@ public class AccountServiceImpl extends ServiceImpl<IAccountMapper, Account> imp
|
|
}
|
|
}
|
|
account.setUpdaterId(accountDTO.getUpdaterId());
|
|
account.setUpdaterId(accountDTO.getUpdaterId());
|
|
account.setUpdateTime(new Date());
|
|
account.setUpdateTime(new Date());
|
|
- account.setTbStatus(TbStatus.DELETE.code());
|
|
|
|
this.updateById(account);
|
|
this.updateById(account);
|
|
|
|
+ this.removeById(account.getId());
|
|
|
|
|
|
UserAuthInfo userAuthInfo = userAuthService.findByAccountId(account.getId());
|
|
UserAuthInfo userAuthInfo = userAuthService.findByAccountId(account.getId());
|
|
userAuthInfo.setUpdaterId(account.getUpdaterId());
|
|
userAuthInfo.setUpdaterId(account.getUpdaterId());
|
|
userAuthInfo.setUpdateTime(new Date());
|
|
userAuthInfo.setUpdateTime(new Date());
|
|
- userAuthInfo.setTbStatus(TbStatus.DELETE.code());
|
|
|
|
userAuthService.updateById(userAuthInfo);
|
|
userAuthService.updateById(userAuthInfo);
|
|
|
|
+ userAuthService.removeById(userAuthInfo.getId());
|
|
}
|
|
}
|
|
}
|
|
}
|