|
|
@ -197,7 +197,7 @@ public class PrivilageAccountServiceImpl extends ServiceImpl<PrivilageAccountDOM
|
|
|
|
public boolean removeAccout(Long accountId, Long userId) {
|
|
|
|
public boolean removeAccout(Long accountId, Long userId) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
//删除账号
|
|
|
|
//删除账号
|
|
|
|
privilageAccountDOMapper.deleteById(accountId);
|
|
|
|
privilageAccountDOMapper.deleteByUserId(userId);
|
|
|
|
//删除用户
|
|
|
|
//删除用户
|
|
|
|
privilageUserService.removeUser(userId);
|
|
|
|
privilageUserService.removeUser(userId);
|
|
|
|
//删除用户角色关系
|
|
|
|
//删除用户角色关系
|
|
|
|