Modifier and Type | Method and Description |
---|---|
int |
deleteRelationByMenu(Long menuId)
删除menu关联的relation
|
List<Long> |
getMenuIdsByRoleId(Integer roleId)
根据条件查询菜单
|
List<MenuNode> |
getMenusByRoleIds(List<Integer> roleIds)
根据角色获取菜单
|
List<String> |
getResUrlsByRoleId(Integer roleId)
获取资源url通过角色id
|
List<ZTreeNode> |
menuTreeList()
获取菜单列表树
|
List<ZTreeNode> |
menuTreeListByMenuIds(List<Long> menuIds)
获取菜单列表树
|
List<Map<String,Object>> |
selectMenus(String condition,
String level)
根据条件查询菜单
|
delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMaps, selectMapsPage, selectObjs, selectOne, selectPage, update, updateAllColumnById, updateById, updateForSet
List<Map<String,Object>> selectMenus(@Param(value="condition") String condition, @Param(value="level") String level)
List<Long> getMenuIdsByRoleId(@Param(value="roleId") Integer roleId)
int deleteRelationByMenu(Long menuId)
menuId
- List<String> getResUrlsByRoleId(Integer roleId)
roleId
- Copyright © 2018. All rights reserved.