java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysParamsMapper,SysParams>
io.github.mangocrisp.spring.taybct.module.system.service.impl.SysParamsServiceImpl
所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<SysParams>, ISysParamsService, io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysParams>

public class SysParamsServiceImpl extends io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysParamsMapper,SysParams> implements ISysParamsService
针对表【sys_params(系统参数)】的数据库操作Service实现
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected org.springframework.data.redis.core.RedisTemplate<String,String>
     

    从类继承的字段 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
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    cache(String paramsKey)
    一个一个的获取存缓存
    private void
    检查特殊字符
    boolean
    cleanCache(Set<String> paramsKeySet)
    清除缓存
    private Set<String>
     
    boolean
     
    boolean
     
    boolean
    save(SysParams entity)
     
    boolean
     
    boolean
     
    boolean
     

    从类继承的方法 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, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById
  • 字段详细资料

    • redisTemplate

      @Autowired(required=false) protected org.springframework.data.redis.core.RedisTemplate<String,String> redisTemplate
  • 构造器详细资料

    • SysParamsServiceImpl

      public SysParamsServiceImpl()
  • 方法详细资料

    • cache

      @CacheTimeOut(cacheName="tb:sys:params", key="#paramsKey") public String cache(String paramsKey)
      一个一个的获取存缓存
      指定者:
      cache 在接口中 ISysParamsService
      参数:
      paramsKey - 键
      返回:
      参数
    • save

      public boolean save(SysParams entity)
      指定者:
      save 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
    • saveBatch

      public boolean saveBatch(Collection<SysParams> entityList)
      指定者:
      saveBatch 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
    • updateById

      public boolean updateById(SysParams entity)
      指定者:
      updateById 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
    • updateBatchById

      public boolean updateBatchById(Collection<SysParams> entityList)
      指定者:
      updateBatchById 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
    • removeById

      public boolean removeById(Serializable id)
      指定者:
      removeById 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
      覆盖:
      removeById 在类中 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysParamsMapper,SysParams>
    • removeByIds

      public boolean removeByIds(Collection<?> idList)
      指定者:
      removeByIds 在接口中 com.baomidou.mybatisplus.extension.service.IService<SysParams>
      覆盖:
      removeByIds 在类中 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysParamsMapper,SysParams>
    • getParamsKeySet

      private Set<String> getParamsKeySet(Collection<?> idList)
    • cleanCache

      public boolean cleanCache(Set<String> paramsKeySet)
      从接口复制的说明: ISysParamsService
      清除缓存
      指定者:
      cleanCache 在接口中 ISysParamsService
      参数:
      paramsKeySet - 需要清除缓存的字典 code
    • checkKeyCharts

      private void checkKeyCharts(String key)
      检查特殊字符
      参数:
      key - 参数键