using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 角色成员管理服务 /// public interface ISysRoleUserService { Task> GetUserRoleIdList(int userId, bool checkRoleStatus = true); Task> GetUserRoleList(int userId, bool checkRoleStatus = true); /// /// 获取登录用户拥有角色列表 /// /// /// /// Task> GetLoginUserRoleList(int userId, bool checkRoleStatus = true); Task DeleteRoleUserByRoleId(int roleId); Task DeleteUserRoleListByUserId(int userId); Task AddRoleUser(SysRoleUserInput input); Task RemoveRoleUser(SysRoleUserInput input); Task> GetInRoleUserList(int roleId); /// /// 分页查询角色用户列表 /// /// /// Task> QueryInRoleUserPageList(SysRoleUserPageInput input); Task> GetNotInRoleUserList(int roleId); Task IsSuperAdmin(int userId); /// /// 通过权限标识获取人员列表 /// /// 权限标识 /// Task> GetUserListByPermission(string permission); }