| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.entity.SysRole; |
| | | import com.ruoyi.common.core.domain.PageQuery; |
| | | import com.ruoyi.system.domain.SysRole; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.system.domain.SysUserRole; |
| | | |
| | |
| | | * |
| | | * @author Lion Li |
| | | */ |
| | | public interface ISysRoleService extends IService<SysRole> { |
| | | public interface ISysRoleService { |
| | | |
| | | |
| | | TableDataInfo<SysRole> selectPageRoleList(SysRole role); |
| | | TableDataInfo<SysRole> selectPageRoleList(SysRole role, PageQuery pageQuery); |
| | | |
| | | /** |
| | | * 根据条件分页查询角色数据 |
| | |
| | | * @param userId 用户ID |
| | | * @return 选中角色ID列表 |
| | | */ |
| | | List<Integer> selectRoleListByUserId(Long userId); |
| | | List<Long> selectRoleListByUserId(Long userId); |
| | | |
| | | /** |
| | | * 通过角色ID查询角色 |