@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, updateByPrimaryKeySelective
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, updateByPrimaryKeySelective
public BaseMapper<SysMenu,String> getMappser()
getMappser
in class BaseServiceImpl<SysMenu,String>
public List<SysMenu> getMenuNotSuper()
getMenuNotSuper
in interface MenuService
public int insert(SysMenu menu)
insert
in interface BaseService<SysMenu,String>
insert
in interface MenuService
insert
in class BaseServiceImpl<SysMenu,String>
public List<SysMenu> getMenuChildren(String id)
getMenuChildren
in interface MenuService
public com.alibaba.fastjson.JSONArray getMenuJsonList()
getMenuJsonList
in interface MenuService
public com.alibaba.fastjson.JSONArray getMenuJsonByUser(List<SysMenu> menuList)
getMenuJsonByUser
in interface MenuService
public List<SysMenu> getMenuChildrenAll(String id)
getMenuChildrenAll
in interface MenuService
public com.alibaba.fastjson.JSONArray getTreeUtil(String roleId)
getTreeUtil
in interface MenuService
public List<SysMenu> getUserMenu(String id)
getUserMenu
in interface MenuService
Copyright © 2019. All rights reserved.