@Service public class MenuServiceImpl extends BaseServiceImpl<SysMenu,String> implements MenuService
| Constructor and Description |
|---|
MenuServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SysMenu |
child(SysMenu sysMenu,
List<SysMenu> sysMenus,
Integer pNum,
Integer num) |
TreeUtil |
getChildByTree(SysMenu sysMenu,
List<SysMenu> sysMenus,
int layer,
String pId,
String roleId) |
SysMenu |
getChilds(SysMenu menu,
int pNum,
int num,
List<SysMenu> menuList) |
BaseMapper<SysMenu,String> |
getMappser() |
List<SysMenu> |
getMenuChildren(String id) |
List<SysMenu> |
getMenuChildrenAll(String id) |
com.alibaba.fastjson.JSONArray |
getMenuJsonByUser(List<SysMenu> menuList) |
com.alibaba.fastjson.JSONArray |
getMenuJsonList() |
List<SysMenu> |
getMenuNotSuper() |
com.alibaba.fastjson.JSONArray |
getTreeUtil(String roleId) |
List<SysMenu> |
getUserMenu(String id) |
int |
insert(SysMenu menu) |
addValue, delete, deleteByExample, deleteByIds, deleteByPrimaryKey, deleteByPrimaryKey, existsWithPrimaryKey, getList, insertList, insertSelective, insertUseGeneratedKeys, select, selectAll, selectByExample, selectByExampleAndRowBounds, selectByIds, selectByPrimaryKey, selectByRowBounds, selectCount, selectCountByExample, selectListByPage, selectOne, selectOneByExample, show, showAll, updateByExample, updateByExampleSelective, updateByPrimaryKey, updateByPrimaryKeySelectiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, deleteByExample, deleteByIds, deleteByPrimaryKey, deleteByPrimaryKey, existsWithPrimaryKey, getList, insertList, insertSelective, insertUseGeneratedKeys, select, selectAll, selectByExample, selectByExampleAndRowBounds, selectByIds, selectByPrimaryKey, selectByRowBounds, selectCount, selectCountByExample, selectListByPage, selectOne, selectOneByExample, show, showAll, updateByExample, updateByExampleSelective, updateByPrimaryKey, updateByPrimaryKeySelectivepublic BaseMapper<SysMenu,String> getMappser()
getMappser in class BaseServiceImpl<SysMenu,String>public List<SysMenu> getMenuNotSuper()
getMenuNotSuper in interface MenuServicepublic int insert(SysMenu menu)
insert in interface BaseService<SysMenu,String>insert in interface MenuServiceinsert in class BaseServiceImpl<SysMenu,String>public List<SysMenu> getMenuChildren(String id)
getMenuChildren in interface MenuServicepublic com.alibaba.fastjson.JSONArray getMenuJsonList()
getMenuJsonList in interface MenuServicepublic com.alibaba.fastjson.JSONArray getMenuJsonByUser(List<SysMenu> menuList)
getMenuJsonByUser in interface MenuServicepublic List<SysMenu> getMenuChildrenAll(String id)
getMenuChildrenAll in interface MenuServicepublic com.alibaba.fastjson.JSONArray getTreeUtil(String roleId)
getTreeUtil in interface MenuServicepublic List<SysMenu> getUserMenu(String id)
getUserMenu in interface MenuServiceCopyright © 2019. All rights reserved.