public interface IRoleService extends com.baomidou.mybatisplus.service.IService<Role>
Modifier and Type | Method and Description |
---|---|
int |
deleteRolesById(Integer roleId)
删除某个角色的所有权限
|
void |
delRoleById(Integer roleId)
删除角色
|
List<ZTreeNode> |
roleTreeList()
获取角色列表树
|
List<ZTreeNode> |
roleTreeListByRoleId(String[] roleId)
获取角色列表树
|
List<Map<String,Object>> |
selectRoles(String condition)
根据条件查询角色列表
|
void |
setAuthority(Integer roleId,
String ids)
设置某个角色的权限
|
delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet
Copyright © 2018. All rights reserved.