public interface IMenuService extends com.baomidou.mybatisplus.service.IService<Menu>
Modifier and Type | Method and Description |
---|---|
int |
deleteRelationByMenu(Long menuId)
删除menu关联的relation
|
void |
delMenu(Long menuId)
删除菜单
|
void |
delMenuContainSubMenus(Long menuId)
删除菜单包含所有子菜单
|
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, 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
void delMenu(Long menuId)
void delMenuContainSubMenus(Long menuId)
int deleteRelationByMenu(Long menuId)
menuId
- List<String> getResUrlsByRoleId(Integer roleId)
roleId
- Copyright © 2018. All rights reserved.