using Dto; using Model; using Model.Base; namespace Services { public interface ISysUserRoleService : IBaseService { public int CountUserRoleByRoleId(long roleId); /// /// 删除用户角色 /// /// /// public int DeleteUserRoleByUserId(int userId); /// /// 批量删除角色对应用户 /// /// /// /// public int DeleteRoleUserByUserIds(long roleId, List userIds); /// /// 添加用户角色 /// /// /// public int AddUserRole(List sysUsers); /// /// 获取用户数据根据角色id /// /// /// public List GetSysUsersByRoleId(long roleId); /// /// 获取用户数据根据角色id /// /// /// public PagedInfo GetSysUsersByRoleId(RoleUserQueryDto roleUserQueryDto); /// /// 获取尚未指派的用户数据根据角色id /// /// /// public PagedInfo GetExcludedSysUsersByRoleId(RoleUserQueryDto roleUserQueryDto); /// /// 新增用户角色信息 /// /// /// public int InsertUserRole(SysUser user); /// /// 新增加角色用户 /// /// /// public int InsertRoleUser(RoleUsersCreateDto roleUsersCreateDto); } }