类 MenuService

java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<D,T>
com.jeeplus.core.service.TreeService<MenuMapper,Menu>
com.jeeplus.devtools.service.MenuService
所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<Menu>

@Service("genMenuService") @Transactional public class MenuService extends com.jeeplus.core.service.TreeService<MenuMapper,Menu>
菜单.
版本:
2021-09-05
作者:
jeeplus
  • 字段概要

    从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    baseMapper, entityClass, mapperClass, typeArguments

    从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    读取菜单列表
    boolean
    保存或更新菜单

    从类继承的方法 com.jeeplus.core.service.TreeService

    formatListToTree, getChildren, removeWithChildrenById, removeWithChildrenByIds, sortList, treeData, treeData

    从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService

    count, count, exists, getById, getOne, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeById, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById
  • 构造器详细资料

    • MenuService

      public MenuService()
  • 方法详细资料

    • saveOrUpdate

      @CacheEvict(cacheNames={"sys:cache:menu","user:cache:dataRuleList","user:cache:topMenu","user:cache:menuList"}, allEntries=true) public boolean saveOrUpdate(Menu menu)
      保存或更新菜单
      指定者:
      saveOrUpdate 在接口中 com.baomidou.mybatisplus.extension.service.IService<Menu>
      覆盖:
      saveOrUpdate 在类中 com.jeeplus.core.service.TreeService<MenuMapper,Menu>
      参数:
      menu -
      返回:
    • findAllMenu

      public List<MenuDTO> findAllMenu()
      读取菜单列表
      返回: