跳过导航链接
A B C D E F G H I L M N P Q R S T U 

A

action(Object, String...) - 类 中的方法com.github.sparkzxl.database.echo.core.EchoService
回显数据的3个步骤:(出现回显失败时,认真debug该方法) 1. parse: 通过反射将obj的字段上标记了 @Echo 注解的字段解析出来, 封装到typeMap中 2. load: 依次查询待回显的数据 3. write: 将查询出来的结果 反射或put 到obj的 字段或echoMap 中 注意:若对象中需要回显的字段之间出现循环引用,很可能发生异常,所以请保证不要出现循环引用!!!
alwaysUpdateSomeColumnById(T) - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
更新公共字段
ApiIdempotentAspect - com.github.sparkzxl.database.aspect中的类
description: 接口幂等性校验切面
ApiIdempotentAspect(GeneralCacheService) - 类 的构造器com.github.sparkzxl.database.aspect.ApiIdempotentAspect
 
apiIdempotentAspect(GeneralCacheService) - 类 中的方法com.github.sparkzxl.database.IdempotentAutoConfig
 
around(ProceedingJoinPoint) - 类 中的方法com.github.sparkzxl.database.aspect.ApiIdempotentAspect
 

B

BaseController<Entity> - com.github.sparkzxl.database.base.controller中的接口
description: 基础controller
baseService - 类 中的变量com.github.sparkzxl.database.base.controller.SuperSimpleController
 
BaseSqlInjector - com.github.sparkzxl.database.mybatis.injector中的类
description: 自定义Sql注入
BaseSqlInjector() - 类 的构造器com.github.sparkzxl.database.mybatis.injector.BaseSqlInjector
 
beforePrepare(StatementHandler, Connection, Integer) - 类 中的方法com.github.sparkzxl.database.plugins.SchemaInterceptor
 
beforeQuery(Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - 类 中的方法com.github.sparkzxl.database.plugins.SchemaInterceptor
 
buildTree(List<E>) - 类 中的静态方法com.github.sparkzxl.database.utils.TreeUtil
构建Tree结构

C

CacheId() - 类 的构造器com.github.sparkzxl.database.properties.DataProperties.CacheId
 
changeTable(String) - 类 中的方法com.github.sparkzxl.database.plugins.SchemaInterceptor
 
ClassManager - com.github.sparkzxl.database.echo.manager中的类
类管理器
ClassManager() - 类 的构造器com.github.sparkzxl.database.echo.manager.ClassManager
 
com.github.sparkzxl.database - 程序包 com.github.sparkzxl.database
 
com.github.sparkzxl.database.aspect - 程序包 com.github.sparkzxl.database.aspect
 
com.github.sparkzxl.database.base.controller - 程序包 com.github.sparkzxl.database.base.controller
 
com.github.sparkzxl.database.base.listener - 程序包 com.github.sparkzxl.database.base.listener
 
com.github.sparkzxl.database.base.mapper - 程序包 com.github.sparkzxl.database.base.mapper
 
com.github.sparkzxl.database.base.service - 程序包 com.github.sparkzxl.database.base.service
 
com.github.sparkzxl.database.base.service.impl - 程序包 com.github.sparkzxl.database.base.service.impl
 
com.github.sparkzxl.database.dto - 程序包 com.github.sparkzxl.database.dto
 
com.github.sparkzxl.database.echo.aspect - 程序包 com.github.sparkzxl.database.echo.aspect
 
com.github.sparkzxl.database.echo.core - 程序包 com.github.sparkzxl.database.echo.core
 
com.github.sparkzxl.database.echo.manager - 程序包 com.github.sparkzxl.database.echo.manager
 
com.github.sparkzxl.database.echo.properties - 程序包 com.github.sparkzxl.database.echo.properties
 
com.github.sparkzxl.database.echo.typehandler - 程序包 com.github.sparkzxl.database.echo.typehandler
 
com.github.sparkzxl.database.factory - 程序包 com.github.sparkzxl.database.factory
 
com.github.sparkzxl.database.mybatis.hander - 程序包 com.github.sparkzxl.database.mybatis.hander
 
com.github.sparkzxl.database.mybatis.injector - 程序包 com.github.sparkzxl.database.mybatis.injector
 
com.github.sparkzxl.database.mybatis.methods - 程序包 com.github.sparkzxl.database.mybatis.methods
 
com.github.sparkzxl.database.parsers - 程序包 com.github.sparkzxl.database.parsers
 
com.github.sparkzxl.database.plugins - 程序包 com.github.sparkzxl.database.plugins
 
com.github.sparkzxl.database.properties - 程序包 com.github.sparkzxl.database.properties
 
com.github.sparkzxl.database.support - 程序包 com.github.sparkzxl.database.support
 
com.github.sparkzxl.database.utils - 程序包 com.github.sparkzxl.database.utils
 
convertExcels(List<Entity>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
转换Excel表格
count - 类 中的变量com.github.sparkzxl.database.base.listener.ImportDataListener
 
CurdController<Entity,Id extends Serializable,SaveDTO,UpdateDTO,QueryDTO,ExcelEntity> - com.github.sparkzxl.database.base.controller中的接口
description: curd 接口自动生成类
CustomMybatisProperties - com.github.sparkzxl.database.properties中的类
description: CustomMybatisProperties配置属性类
CustomMybatisProperties() - 类 的构造器com.github.sparkzxl.database.properties.CustomMybatisProperties
 
CustomThreadFactory - com.github.sparkzxl.database.factory中的类
description: 自定义ThreadFactory
CustomThreadFactory() - 类 的构造器com.github.sparkzxl.database.factory.CustomThreadFactory
 

D

DATABASE_PREFIX - 类 中的静态变量com.github.sparkzxl.database.MyBatisAutoConfiguration
 
dataIntegrityViolationException(DataIntegrityViolationException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
DataProperties - com.github.sparkzxl.database.properties中的类
description: CustomMybatisProperties配置属性类
DataProperties() - 类 的构造器com.github.sparkzxl.database.properties.DataProperties
 
DataProperties.CacheId - com.github.sparkzxl.database.properties中的类
参数说明参考:https://github.com/baidu/uid-generator 长期运行:重启频率为12次/天, 那么配置成{"workerBits":23,"timeBits":31,"seqBits":9}时, 可支持28个节点以整体并发量14400 UID/s的速度持续运行68年 长期运行+集群数量少+并发稍高:{"workerBits":20,"timeBits":31,"seqBits":12}这样的配置可以68年,100W次重启,单机每秒4096个并发的情况 频繁重启:重启频率为24*12次/天, 那么配置成{"workerBits":27,"timeBits":30,"seqBits":6}时, 可支持37个节点以整体并发量2400 UID/s的速度持续运行34年.
DataProperties.DefaultId - com.github.sparkzxl.database.properties中的类
 
DataProperties.HutoolId - com.github.sparkzxl.database.properties中的类
 
dataSource(DataSource) - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
DataSourceExceptionHandler - com.github.sparkzxl.database.support中的类
description: 数据源全局异常处理
DataSourceExceptionHandler() - 类 的构造器com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
dataSourceTransactionManager(DataSource) - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
数据源事务管理器
DefaultId() - 类 的构造器com.github.sparkzxl.database.properties.DataProperties.DefaultId
 
delete(DeleteDTO<Id>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
删除方法
deleteAll() - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
删除全部
DeleteAll - com.github.sparkzxl.database.mybatis.methods中的类
删除全部
DeleteAll() - 类 的构造器com.github.sparkzxl.database.mybatis.methods.DeleteAll
 
deleteByIdWithFill(T) - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
根据主键删除
DeleteDTO<ID> - com.github.sparkzxl.database.dto中的类
description: 删除入参
DeleteDTO() - 类 的构造器com.github.sparkzxl.database.dto.DeleteDTO
 
doAfterAllAnalysed(AnalysisContext) - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 

E

EchoAutoConfiguration - com.github.sparkzxl.database中的类
description: 回显自动装配
EchoAutoConfiguration() - 类 的构造器com.github.sparkzxl.database.EchoAutoConfiguration
 
EchoProperties - com.github.sparkzxl.database.echo.properties中的类
description: 回显配置类
EchoProperties() - 类 的构造器com.github.sparkzxl.database.echo.properties.EchoProperties
 
EchoResultAspect - com.github.sparkzxl.database.echo.aspect中的类
InjectionResult 注解的 AOP 工具
EchoResultAspect() - 类 的构造器com.github.sparkzxl.database.echo.aspect.EchoResultAspect
 
EchoService - com.github.sparkzxl.database.echo.core中的类
字典数据回显工具类 1.
EchoService(EchoProperties, Map<String, LoadService>) - 类 的构造器com.github.sparkzxl.database.echo.core.EchoService
 
echoService(Map<String, LoadService>) - 类 中的方法com.github.sparkzxl.database.EchoAutoConfiguration
 
entityClass - 类 中的变量com.github.sparkzxl.database.base.controller.SuperSimpleController
 
equals(Object) - 类 中的方法com.github.sparkzxl.database.echo.manager.LoadKey
 
executeApiIdempotent() - 类 中的方法com.github.sparkzxl.database.aspect.ApiIdempotentAspect
 
exportData(QueryDTO, HttpServletResponse) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
Excel导出数据

F

FieldParam - com.github.sparkzxl.database.echo.manager中的类
description: 封装字段上标记了 Echo 注解的字段
FieldParam() - 类 的构造器com.github.sparkzxl.database.echo.manager.FieldParam
 
findByIds(Set<Serializable>) - 接口 中的方法com.github.sparkzxl.database.echo.core.LoadService
根据id查询实体
findNameByIds(Set<Serializable>) - 接口 中的方法com.github.sparkzxl.database.echo.core.LoadService
根据id查询 显示名

G

generalCacheService - 类 中的变量com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
get(Id) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
查询对象
get(Id) - 类 中的方法com.github.sparkzxl.database.base.controller.SuperCacheController
查询
getBaseService() - 接口 中的方法com.github.sparkzxl.database.base.controller.BaseController
获取Service
getBaseService() - 类 中的方法com.github.sparkzxl.database.base.controller.SuperSimpleController
 
getByIdCache(Serializable) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
getByIdCache(Serializable) - 接口 中的方法com.github.sparkzxl.database.base.service.SuperCacheService
查询缓存
getCacheUidGenerator(DisposableWorkerIdAssigner) - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
getCount() - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 
getDbField(String, Class<?>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
根据 bean字段 反射出 数据库字段
getDefaultUidGenerator(DisposableWorkerIdAssigner) - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
getEchoResultAspect(EchoService) - 类 中的方法com.github.sparkzxl.database.EchoAutoConfiguration
 
getEntityClass() - 接口 中的方法com.github.sparkzxl.database.base.controller.BaseController
获取实体的类型
getEntityClass() - 类 中的方法com.github.sparkzxl.database.base.controller.SuperController
 
getEntityClass() - 类 中的方法com.github.sparkzxl.database.base.controller.SuperSimpleController
 
getFields(Class<?>) - 类 中的静态方法com.github.sparkzxl.database.echo.manager.ClassManager
 
getFileName() - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
获取文件名
getHuToolUidGenerator() - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
getImportDataListener() - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
Excel处理类
getList() - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 
getLockKey(ProceedingJoinPoint) - 类 中的方法com.github.sparkzxl.database.aspect.LockKeyGenerator
 
getMethodList(Class<?>) - 类 中的方法com.github.sparkzxl.database.mybatis.injector.BaseSqlInjector
 
getNullableResult(ResultSet, String) - 类 中的方法com.github.sparkzxl.database.echo.typehandler.RemoteDataTypeHandler
 
getNullableResult(ResultSet, int) - 类 中的方法com.github.sparkzxl.database.echo.typehandler.RemoteDataTypeHandler
 
getNullableResult(CallableStatement, int) - 类 中的方法com.github.sparkzxl.database.echo.typehandler.RemoteDataTypeHandler
 
getNullableResult(ResultSet, String) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.RemoteDataTypeHandler
 
getNullableResult(ResultSet, int) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.RemoteDataTypeHandler
 
getNullableResult(CallableStatement, int) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.RemoteDataTypeHandler
 
getOrder() - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
getRegion() - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
缓存key模板
getRemoteDataTypeHandler() - 类 中的方法com.github.sparkzxl.database.EchoAutoConfiguration
Mybatis 类型处理器: 处理 RemoteData 类型的字段
getTenantId() - 类 中的方法com.github.sparkzxl.database.plugins.TenantLineHandlerInterceptor
 
getTenantIdColumn() - 类 中的方法com.github.sparkzxl.database.plugins.TenantLineHandlerInterceptor
 

H

handleBadSqlGrammarException(BadSqlGrammarException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
handlerDelete(List<Id>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
自定义删除
handlerEntity(Entity) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
处理参数
handlerExcelQueryList(QueryDTO, List<Entity>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
自定义查询Excel数据
handlerQueryParams(PageParams<QueryDTO>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
处理参数
handlerResult(PageInfo<Entity>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
自定义处理返回结果
handlerSave(SaveDTO) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
自定义新增
handlerUpdate(UpdateDTO) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
自定义更新
handlerWrapper(Entity, PageParams<QueryDTO>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
条件构造
handleSqlSyntaxErrorException(SQLSyntaxErrorException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
handleTenantException(TenantException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
handleTooManyResultsException(TooManyResultsException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
hashCode() - 类 中的方法com.github.sparkzxl.database.echo.manager.LoadKey
 
HutoolId() - 类 的构造器com.github.sparkzxl.database.properties.DataProperties.HutoolId
 

I

IdempotentAutoConfig - com.github.sparkzxl.database中的类
description: api幂等自动装配
IdempotentAutoConfig() - 类 的构造器com.github.sparkzxl.database.IdempotentAutoConfig
 
ignoreTable(String) - 类 中的方法com.github.sparkzxl.database.plugins.TenantLineHandlerInterceptor
 
importData(MultipartFile) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
Excel导入数据
ImportDataListener<ExcelEntity> - com.github.sparkzxl.database.base.listener中的类
description: excel监听处理类
ImportDataListener() - 类 的构造器com.github.sparkzxl.database.base.listener.ImportDataListener
 
importExcelClass() - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
导入Excel处理类
init() - 类 中的方法com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 
injectMappedStatement(Class<?>, Class<?>, TableInfo) - 类 中的方法com.github.sparkzxl.database.mybatis.methods.DeleteAll
 
insertBatchSomeColumn(List<T>) - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
批量新增
insertCommonColumn(MetaObject) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.MetaDataHandler
所有的继承了Entity、SuperEntity的实体,在insert时, createUser: 自动赋予 当前线程上的登录人id createTime: 自动赋予 服务器的当前时间
insertFill(MetaObject) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.MetaDataHandler
 
intercept(Invocation) - 类 中的方法com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 
interceptor(ProceedingJoinPoint, EchoResult) - 类 中的方法com.github.sparkzxl.database.echo.aspect.EchoResultAspect
 
invoke(ExcelEntity, AnalysisContext) - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 

L

lambdaQueryChain() - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
lambda查询链
lambdaUpdateChain() - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
lambda更新链
list - 类 中的变量com.github.sparkzxl.database.base.listener.ImportDataListener
 
LoadKey - com.github.sparkzxl.database.echo.manager中的类
description: 封装 Echo 注解中解析出来的参数
LoadKey(EchoField) - 类 的构造器com.github.sparkzxl.database.echo.manager.LoadKey
 
LoadService - com.github.sparkzxl.database.echo.core中的接口
description: 加载数据
LockKeyGenerator - com.github.sparkzxl.database.aspect中的类
description: 缓存key 生成
LockKeyGenerator() - 类 的构造器com.github.sparkzxl.database.aspect.LockKeyGenerator
 
logger - 接口 中的静态变量com.github.sparkzxl.database.base.controller.CurdController
 

M

MetaDataHandler - com.github.sparkzxl.database.mybatis.hander中的类
description: mybatis-plus自动注入处理器
MetaDataHandler() - 类 的构造器com.github.sparkzxl.database.mybatis.hander.MetaDataHandler
 
metaDataHandler() - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
methodPointcut() - 类 中的方法com.github.sparkzxl.database.echo.aspect.EchoResultAspect
 
MyBatisAutoConfiguration - com.github.sparkzxl.database中的类
description: mybatis全局配置
MyBatisAutoConfiguration() - 类 的构造器com.github.sparkzxl.database.MyBatisAutoConfiguration
 
mybatisPlusInterceptor() - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
多租户插件配置,一缓和二缓遵循mybatis的规则,需要设置 MybatisConfiguration#useDeprecatedExecutor = false 避免缓存万一出现问题
myBatisSystemException(MyBatisSystemException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 

N

newThread(Runnable) - 类 中的方法com.github.sparkzxl.database.factory.CustomThreadFactory
 

P

page(PageParams<QueryDTO>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
分页查询
PageDTO - com.github.sparkzxl.database.dto中的类
description: 分页入参
PageDTO() - 类 的构造器com.github.sparkzxl.database.dto.PageDTO
 
pageInfo(List<T>) - 类 中的静态方法com.github.sparkzxl.database.utils.PageInfoUtils
 
PageInfoUtils - com.github.sparkzxl.database.utils中的类
description: PageInfo静态工具类
PageInfoUtils() - 类 的构造器com.github.sparkzxl.database.utils.PageInfoUtils
 
PageParams<T> - com.github.sparkzxl.database.dto中的类
description: 分页参数
PageParams() - 类 的构造器com.github.sparkzxl.database.dto.PageParams
 
persistenceException(PersistenceException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
plugin(Object) - 类 中的方法com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 

Q

query(PageParams<QueryDTO>) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
执行查询 可以覆盖后重写查询逻辑
query(QueryDTO) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
批量查询
queryChain() - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
查询链

R

RemoteDataTypeHandler - com.github.sparkzxl.database.echo.typehandler中的类
description: 远程数据 类型转换器 借鉴Hibernate的外键字段的思想,自定义一个类型处理器, 将数据库中 bigint、int、varchar类型的字段映射成JavaBean中 RemoteData 类型的字段
RemoteDataTypeHandler() - 类 的构造器com.github.sparkzxl.database.echo.typehandler.RemoteDataTypeHandler
 
RemoteDataTypeHandler - com.github.sparkzxl.database.mybatis.hander中的类
description: 远程数据 类型转换器
RemoteDataTypeHandler() - 类 的构造器com.github.sparkzxl.database.mybatis.hander.RemoteDataTypeHandler
 
removeById(Serializable) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
removeByIds(Collection<? extends Serializable>) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
ReplaceSql - com.github.sparkzxl.database.parsers中的类
description: 替换SQL
replaceSql(String, String) - 类 中的静态方法com.github.sparkzxl.database.parsers.ReplaceSql
 

S

save(SaveDTO) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
新增
save(T) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
save(T) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperServiceImpl
 
saveBatchSomeColumn(List<T>) - 接口 中的方法com.github.sparkzxl.database.base.service.SuperService
批量保存
SchemaInterceptor - com.github.sparkzxl.database.plugins中的类
description: SCHEMA模式插件
SchemaInterceptor(String) - 类 的构造器com.github.sparkzxl.database.plugins.SchemaInterceptor
 
setApplicationContext(ApplicationContext) - 类 中的方法com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 
setCount(int) - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 
setGeneralCacheService(GeneralCacheService) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
setList(List<ExcelEntity>) - 类 中的方法com.github.sparkzxl.database.base.listener.ImportDataListener
 
setLockKeyGenerator(LockKeyGenerator) - 类 中的方法com.github.sparkzxl.database.aspect.ApiIdempotentAspect
 
setNonNullParameter(PreparedStatement, int, RemoteData, JdbcType) - 类 中的方法com.github.sparkzxl.database.echo.typehandler.RemoteDataTypeHandler
insert 、update 时执行该方法
setNonNullParameter(PreparedStatement, int, RemoteData, JdbcType) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.RemoteDataTypeHandler
insert 、update 时执行该方法
setProperties(Properties) - 类 中的方法com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 
slowSqlMonitorInterceptor(ApplicationContext) - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
SlowSqlMonitorInterceptor - com.github.sparkzxl.database.plugins中的类
description: 拦截执行时间过长的sql语句并发送钉钉消息
SlowSqlMonitorInterceptor() - 类 的构造器com.github.sparkzxl.database.plugins.SlowSqlMonitorInterceptor
 
snowflake() - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
sqlException(SQLException) - 类 中的方法com.github.sparkzxl.database.support.DataSourceExceptionHandler
 
sqlInjector() - 类 中的方法com.github.sparkzxl.database.MyBatisAutoConfiguration
 
startPage() - 类 中的方法com.github.sparkzxl.database.dto.PageParams
构建分页参数
SuperCacheController<S extends SuperCacheService<Entity>,Id extends Serializable,Entity,SaveDTO,UpdateDTO,QueryDTO,ExcelEntity> - com.github.sparkzxl.database.base.controller中的类
description: super 缓存controller
SuperCacheController() - 类 的构造器com.github.sparkzxl.database.base.controller.SuperCacheController
 
SuperCacheService<T> - com.github.sparkzxl.database.base.service中的接口
description: 缓存接口父类
SuperCacheServiceImpl<M extends SuperMapper<T>,T> - com.github.sparkzxl.database.base.service.impl中的类
description: 缓存接口父类实现类
SuperCacheServiceImpl() - 类 的构造器com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
SuperController<S extends SuperService<Entity>,Id extends Serializable,Entity,SaveDTO,UpdateDTO,QueryDTO,ExcelEntity> - com.github.sparkzxl.database.base.controller中的类
description: SuperController 继承该类,就拥有了如下方法: 1,page 分页查询,并支持子类扩展4个方法:handlerQueryParams、query、handlerWrapper、handlerResult 2,save 保存,并支持子类扩展方法:handlerSave 3,update 修改,并支持子类扩展方法:handlerUpdate 4,delete 删除,并支持子类扩展方法:handlerDelete 5,get 单体查询, 根据ID直接查询DB 6,list 列表查询,根据参数条件,查询列表 7,import 导入,并支持子类扩展方法:handlerImport 8,export 导出,并支持子类扩展3个方法:handlerQueryParams、query、handlerResult 9,preview 导出预览,并支持子类扩展3个方法:handlerQueryParams、query、handlerResult 其中 page、export、preview 的查询条件一致,若子类重写了 handlerQueryParams、query、handlerResult 等任意方法,均衡收到影响 若重写扩展方法无法满足,则可以重写page、save等方法,但切记不要修改 @RequestMapping 参数 Service 主键 实体 分页参数 保存参数 修改参数
SuperController() - 类 的构造器com.github.sparkzxl.database.base.controller.SuperController
 
SuperMapper<T> - com.github.sparkzxl.database.base.mapper中的接口
description: 公共mapper
SuperService<T> - com.github.sparkzxl.database.base.service中的接口
description:
SuperServiceImpl<M extends SuperMapper<T>,T> - com.github.sparkzxl.database.base.service.impl中的类
description:
SuperServiceImpl() - 类 的构造器com.github.sparkzxl.database.base.service.impl.SuperServiceImpl
 
SuperSimpleController<S extends SuperService<Entity>,Entity> - com.github.sparkzxl.database.base.controller中的类
description: 简单的实现了BaseController,为了获取注入 Service 和 实体类型 基类该类后,没有任何方法。
SuperSimpleController() - 类 的构造器com.github.sparkzxl.database.base.controller.SuperSimpleController
 

T

TenantLineHandlerInterceptor - com.github.sparkzxl.database.plugins中的类
description: 多租户处理器
TenantLineHandlerInterceptor(String, List<String>) - 类 的构造器com.github.sparkzxl.database.plugins.TenantLineHandlerInterceptor
 
TreeUtil - com.github.sparkzxl.database.utils中的类
description:list列表 转换成tree列表
TreeUtil() - 类 的构造器com.github.sparkzxl.database.utils.TreeUtil
 

U

update(UpdateDTO) - 接口 中的方法com.github.sparkzxl.database.base.controller.CurdController
修改
updateById(T) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperCacheServiceImpl
 
updateById(T) - 类 中的方法com.github.sparkzxl.database.base.service.impl.SuperServiceImpl
 
updateChain() - 接口 中的方法com.github.sparkzxl.database.base.mapper.SuperMapper
更新链
updateCommonColumn(MetaObject) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.MetaDataHandler
更新相关字段自动填充
updateFill(MetaObject) - 类 中的方法com.github.sparkzxl.database.mybatis.hander.MetaDataHandler
所有的继承了Entity、SuperEntity的实体,在update时, updateUser: 自动赋予 当前线程上的登录人id updateTime: 自动赋予 服务器的当前时间
A B C D E F G H I L M N P Q R S T U 

Copyright © 2021. All rights reserved.