类 ConfigServiceImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<IConfigMapper,SysConfig>
com.hengyi.xbaseweb.config.service.impl.ConfigServiceImpl
所有已实现的接口:
com.baomidou.mybatisplus.extension.repository.IRepository<SysConfig>, com.baomidou.mybatisplus.extension.service.IService<SysConfig>, IConfigService

@Service public class ConfigServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<IConfigMapper,SysConfig> implements IConfigService
  • 字段概要

    从类继承的字段 com.baomidou.mybatisplus.extension.repository.CrudRepository

    baseMapper

    从类继承的字段 com.baomidou.mybatisplus.extension.repository.AbstractRepository

    log

    从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    boolean
    删除配置
    查询配置
    getList(List<String> codeList)
    获取多个配置
    获取配置
    <T> T
    getValue(String code, Class<T> clazz)
    获取配置 自定义返回类型
    boolean
    insert(SysConfig sysConfig)
    写入配置
    void
    加载配置到缓存
    boolean
    update(SysConfig sysConfig)
    更新配置
    boolean
    updateBatch(List<SysConfig> sysConfigList)
    批量更新配置
    boolean
    updateValue(String code, String value)
    设置值

    从类继承的方法 com.baomidou.mybatisplus.extension.repository.CrudRepository

    getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchById

    从类继承的方法 com.baomidou.mybatisplus.extension.repository.AbstractRepository

    executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdate

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

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

    从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository

    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, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById

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

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById