类 SysDictServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysDictMapper,SysDict>
io.github.mangocrisp.spring.taybct.module.system.service.impl.SysDictServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<SysDict>
,ISysDictService
,io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysDict>
public class SysDictServiceImpl
extends io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysDictMapper,SysDict>
implements ISysDictService
针对表【sys_dict(字典)】的数据库操作Service实现
-
字段概要
字段修饰符和类型字段说明从类继承的字段 io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl
securityUtil
从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, mapperClass, typeArguments
从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明一个一个的获取存缓存boolean
cleanCache
(Set<String> dictCodes) 清除缓存getDictCodes
(Collection<?> idList) boolean
boolean
removeByIds
(Collection<?> idList) boolean
boolean
updateBatchById
(Collection<SysDict> entityList) boolean
updateById
(SysDict entity) 从类继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl
authoritiesFilter, checkAuthorities, checkRoot, currentMapperClass, currentModelClass, getSecurityUtil, saveNew, saveNewBatch
从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService
customizeGetById, customizeList, customizeList, customizePage, customizePage, customizeQueryPage, customizeQueryPage, customizeQueryWrapper, customizeQueryWrapper, customizeRemoveById, customizeRemoveByIds, customizeSave, customizeSaveBatch, customizeUpdateBatchById, customizeUpdateById, mergeQueryExpansion, queryExpansion, removeExpansion, saveExpansion
从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, 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, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, removeByMap, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById
-
字段详细资料
-
redisTemplate
-
-
构造器详细资料
-
SysDictServiceImpl
public SysDictServiceImpl()
-
-
方法详细资料
-
cache
一个一个的获取存缓存- 指定者:
cache
在接口中ISysDictService
- 参数:
dictCode
- 字典类型- 返回:
- 字典
-
save
- 指定者:
save
在接口中com.baomidou.mybatisplus.extension.service.IService<SysDict>
-
updateById
- 指定者:
updateById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysDict>
-
updateBatchById
- 指定者:
updateBatchById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysDict>
-
removeById
- 指定者:
removeById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysDict>
- 覆盖:
removeById
在类中com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysDictMapper,
SysDict>
-
removeByIds
- 指定者:
removeByIds
在接口中com.baomidou.mybatisplus.extension.service.IService<SysDict>
- 覆盖:
removeByIds
在类中com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysDictMapper,
SysDict>
-
getDictCodes
-
cleanCache
从接口复制的说明:ISysDictService
清除缓存- 指定者:
cleanCache
在接口中ISysDictService
- 参数:
dictCodes
- 需要清除缓存的字典 code
-