|
|
@ -126,7 +126,7 @@ public class RoleServiceImpl implements IRoleService
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public int deleteRoleById(Long roleId)
|
|
|
|
public int deleteRoleById(Long roleId)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
userRoleDao.deleteUserRoleByUserId(roleId);
|
|
|
|
userRoleDao.deleteUserRoleByRoleId(roleId);
|
|
|
|
roleMenuDao.deleteRoleMenuByRoleId(roleId);
|
|
|
|
roleMenuDao.deleteRoleMenuByRoleId(roleId);
|
|
|
|
return roleDao.deleteRoleById(roleId);
|
|
|
|
return roleDao.deleteRoleById(roleId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|