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

A

addMapperXml(String...) - 类 中的方法top.lingkang.mm.MagicConfiguration
添加 mapper xml映射文件。
addParam(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryWrapper
添加参数,sql中的参数只能用 #{paramName}
代码例子: QueryWrapper<UserEntity> query = mapperManage.createQuery( "select * from t_user where id>#{id}", UserEntity.class); query.addParam("id",2);// 参数 id List<UserEntity> list = query.getList();
addParam(Map<String, Object>) - 类 中的方法top.lingkang.mm.orm.QueryWrapper
添加 map 参数
addParam(String, Object) - 类 中的方法top.lingkang.mm.orm.UpadateWrapper
添加参数,sql中的参数只能用 #{paramName}
代码例子: UpadateWrapper update = mapperManage.createUpdate("update t_user set password=#{p} where id=#{id}"); update.addParam("p", System.currentTimeMillis()).addParam("id", 1); int execute = update.execute(); log.info("受影响行数: {}", execute);
addParam(Map<String, Object>) - 类 中的方法top.lingkang.mm.orm.UpadateWrapper
添加 map 参数
addQueryParam(StringBuilder, String) - 类 中的方法top.lingkang.mm.orm.Query
 
addQueryParam(StringBuilder, String) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 

B

BaseMapper<T> - top.lingkang.mm.orm中的接口
mapper 的基础增删查改
BaseMapperDriver - top.lingkang.mm.orm中的类
curd
BaseMapperDriver() - 类 的构造器top.lingkang.mm.orm.BaseMapperDriver
 
beginTransaction() - 类 中的静态方法top.lingkang.mm.transaction.TransactionManage
 
build() - 类 中的方法top.lingkang.mm.MagicConfiguration
 
buildSql() - 类 中的方法top.lingkang.mm.orm.Query
 

C

clearCache() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
close() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
close() - 类 中的方法top.lingkang.mm.transaction.MagicTransaction
 
Column - top.lingkang.mm.annotation中的注释类型
实体属性注解,列名称
commit() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
commit(boolean) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
commit() - 类 中的方法top.lingkang.mm.transaction.MagicTransaction
 
commit() - 类 中的静态方法top.lingkang.mm.transaction.TransactionManage
 
Condition - top.lingkang.mm.orm中的枚举
 
countPageNumber() - 类 中的方法top.lingkang.mm.page.PageInfo
获取总分页数
createParameterHandler(MappedStatement, Object, BoundSql) - 类 中的方法top.lingkang.mm.orm.BaseMapperDriver
 
createParameterHandler(MappedStatement, Object, BoundSql) - 类 中的方法top.lingkang.mm.orm.MagicCreateLangDriver
 
createQuery(Query) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
创建查询,例如: // 查询id为 1 的实体对象 List<UserEntity> list = mapper.createQuery(new Query().eq("id", 1))
createQuery(String, Class<T>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
返回查询条件,只能执行查询。
createQuery(String, Class<T>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
createSqlSource(Configuration, XNode, Class<?>) - 类 中的方法top.lingkang.mm.orm.BaseMapperDriver
 
createSqlSource(Configuration, String, Class<?>) - 类 中的方法top.lingkang.mm.orm.BaseMapperDriver
 
createUpdate(String) - 接口 中的方法top.lingkang.mm.orm.MapperManage
返回更新条件,执行更新操作。
createUpdate(String) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 

D

DefaultIdGenerate - top.lingkang.mm.gen中的类
默认uuid生成(无中横线)
DefaultIdGenerate() - 类 的构造器top.lingkang.mm.gen.DefaultIdGenerate
 
delete(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
delete(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
deleteById(Object) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
根据主键id删除
deleteById(Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id删除数据
deleteById(Class<?>, Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id删除数据。
deleteById(Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
deleteById(Class<?>, Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
deleteByIds(Class<T>, List<E>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id批量删除。
deleteByIds(Class<T>, List<E>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 

E

eq(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
eq(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
execute() - 类 中的方法top.lingkang.mm.orm.UpadateWrapper
执行更新操作
executeSqlScript(String) - 接口 中的方法top.lingkang.mm.orm.MapperManage
执行sql脚本,自动处于事务中执行,出现失败时全部回滚。
executeSqlScript(File) - 接口 中的方法top.lingkang.mm.orm.MapperManage
执行sql脚本,自动处于事务中执行,出现失败时全部回滚。
executeSqlScript(String) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
executeSqlScript(File) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
exeScript(File, Connection) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
执行sql脚本,事务中进行,执行完毕将关闭连接 // 执行初始化sql脚本,若需要执行的话 Connection connection = sqlSession.getConnection(); String script = IoUtil.read(getClass().getClassLoader().getResourceAsStream("script/init-mysql.sql"), StandardCharsets.UTF_8); MagicUtils.exeScript(script, connection);
exeScript(String, Connection) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
执行sql脚本,事务中进行,执行完毕将关闭连接 // 执行初始化sql脚本,若需要执行的话 Connection connection = sqlSession.getConnection(); String script = IoUtil.read(getClass().getClassLoader().getResourceAsStream("script/init-mysql.sql"), StandardCharsets.UTF_8); MagicUtils.exeScript(script, connection);
existsById(Object) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
判断是否存在
existsById(Class<T>, Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id判断实体对象是否存在
existsById(Class<T>, Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 

F

findForClass(Class<?>) - 类 中的方法top.lingkang.mm.override.MagicReflectorFactory
 
flushStatements() - 类 中的方法top.lingkang.mm.MagicSqlSession
 

G

ge(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
ge(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
getAllField(Class<?>) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
获得本类及其父类所有属性
getAllPublicMethod(Class<?>) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
获得本类及其父类所有Public方法
getColumns() - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
getConfiguration() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
getConnection() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
getConnection() - 类 中的方法top.lingkang.mm.transaction.MagicTransaction
 
getConnection(DataSource) - 类 中的静态方法top.lingkang.mm.transaction.TransactionManage
 
getDataSource() - 类 中的方法top.lingkang.mm.MagicConfiguration
 
getHandle(Connection) - 类 中的静态方法top.lingkang.mm.page.PageHelper
 
getIdGenerate() - 类 中的方法top.lingkang.mm.MagicConfiguration
 
getList() - 类 中的方法top.lingkang.mm.orm.QueryWrapper
查询返回列表
getMapper(Class<T>) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
getMapper(Class<T>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
获取mapper.xml对象的接口类代理
getMapper(Class<T>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
getOne() - 类 中的方法top.lingkang.mm.orm.QueryWrapper
查询一个对象,若结果有多个,会抛出异常
getPage() - 类 中的静态方法top.lingkang.mm.page.PageHelper
分页查询完成时,调用一次后移除
getParam() - 类 中的方法top.lingkang.mm.orm.Query
 
getParams() - 类 中的方法top.lingkang.mm.orm.QueryWrapper
获取参数
getParams() - 类 中的方法top.lingkang.mm.orm.UpadateWrapper
获取参数
getResultClass() - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
getScanMapperXml() - 类 中的方法top.lingkang.mm.MagicConfiguration
 
getSql() - 类 中的方法top.lingkang.mm.orm.Query
 
getTimeout() - 类 中的方法top.lingkang.mm.transaction.MagicTransaction
 
gt(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
gt(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 

H

handleParams(BoundSql, PreparedStatement) - 接口 中的方法top.lingkang.mm.page.PageSqlHandle
 
handleSql(String, int, int) - 接口 中的方法top.lingkang.mm.page.PageSqlHandle
处理分页sql, 下面默认是mysql分页逻辑
handleSql(String, int, int) - 类 中的方法top.lingkang.mm.page.PageSqlHandleH2
 
handleSql(String, int, int) - 类 中的方法top.lingkang.mm.page.PageSqlHandlePostgreSql
 
handleSql(String, int, int) - 类 中的方法top.lingkang.mm.page.PageSqlHandleSqlite
 
handleSql(String, int, int) - 类 中的方法top.lingkang.mm.page.PageSqlHandleSqlServer
 

I

Id - top.lingkang.mm.annotation中的注释类型
标记主键Id
id() - 类 中的静态方法top.lingkang.mm.utils.IdUtils
 
id(Date) - 类 中的静态方法top.lingkang.mm.utils.IdUtils
 
id(long) - 类 中的静态方法top.lingkang.mm.utils.IdUtils
 
id() - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
 
id(Date) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
 
id(long) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
 
IdGenerate - top.lingkang.mm.gen中的接口
默认生成UUID(无中横线)
DefaultIdGenerate
idGenerate - 类 中的静态变量top.lingkang.mm.MagicConfiguration
默认id生成算法,至少要保持 id 列长度为 16 位字符 或使用 bigint(16) 以上
默认id算法:DefaultIdGenerate
IdType - top.lingkang.mm.constant中的枚举
 
IdUtils - top.lingkang.mm.utils中的类
 
IdUtils() - 类 的构造器top.lingkang.mm.utils.IdUtils
 
IgnoreColumn - top.lingkang.mm.annotation中的注释类型
转换sql语句、实体属性映射表字段时,将忽略此属性字段。
in(String, Collection) - 类 中的方法top.lingkang.mm.orm.Query
 
in(String, Collection) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
initPageHandler(Connection) - 类 中的静态方法top.lingkang.mm.page.PageHelper
 
insert(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
insert(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
insert(T) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
插入数据
insert(Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
插入数据,空值也会插入
insert(Object, boolean) - 接口 中的方法top.lingkang.mm.orm.MapperManage
插入数据
insert(Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
insert(Object, boolean) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
insertBatch(List<T>) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
批量插入数据,例如 List<UserEntity> list = new ArrayList<>(); UserEntity user = new UserEntity(); user.setId(System.currentTimeMillis()); UserEntity user1 = new UserEntity(); user1.setId(System.currentTimeMillis() + 1); list.add(user); list.add(user1); UserMapper mapper = mapperManage.getMapper(UserMapper.class); int insertBatch = mapper.insertBatch(list); log.info("insertBatch list: {}", list); log.info("insertBatch {}", insertBatch);
insertBatch(List<T>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
批量插入数据
insertBatch(List<T>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
intercept(Invocation) - 类 中的方法top.lingkang.mm.page.MagicPageInterceptor
 
invoke(Object, Method, Object[]) - 类 中的方法top.lingkang.mm.SqlSessionFactoryProxy
 
isClassCacheEnabled() - 类 中的方法top.lingkang.mm.override.MagicReflectorFactory
 
isNotNull(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
isNotNull(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
isNull(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
isNull(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
isTransaction() - 类 中的静态方法top.lingkang.mm.transaction.TransactionManage
 

L

le(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
le(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
like(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
like(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
likeLeft(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
likeLeft(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
likeRight(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
likeRight(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
list(Map<String, Object>) - 接口 中的方法top.lingkang.mm.orm.MagicCreateLangMapper
 
list - 类 中的变量top.lingkang.mm.orm.Query
 
lt(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
lt(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 

M

MagicConfiguration - top.lingkang.mm中的类
mybatis-magic 主体配置,spring体系中不使用此配置
MagicConfiguration() - 类 的构造器top.lingkang.mm.MagicConfiguration
 
MagicConfiguration(DataSource) - 类 的构造器top.lingkang.mm.MagicConfiguration
 
MagicCreateLangDriver - top.lingkang.mm.orm中的类
QueryWrapper 等查询前处理
MagicCreateLangDriver() - 类 的构造器top.lingkang.mm.orm.MagicCreateLangDriver
 
MagicCreateLangMapper<T> - top.lingkang.mm.orm中的接口
自定义sql处理
MagicEntity - top.lingkang.mm.orm中的类
实体对象信息
MagicEntity() - 类 的构造器top.lingkang.mm.orm.MagicEntity
 
MagicException - top.lingkang.mm.error中的异常错误
 
MagicException() - 异常错误 的构造器top.lingkang.mm.error.MagicException
 
MagicException(String) - 异常错误 的构造器top.lingkang.mm.error.MagicException
 
MagicException(String, Throwable) - 异常错误 的构造器top.lingkang.mm.error.MagicException
 
MagicException(Throwable) - 异常错误 的构造器top.lingkang.mm.error.MagicException
 
MagicException(String, Throwable, boolean, boolean) - 异常错误 的构造器top.lingkang.mm.error.MagicException
 
MagicMapper - top.lingkang.mm.annotation中的注释类型
用于扫描加载 mapper 接口,例如 {@code
MagicPageInterceptor - top.lingkang.mm.page中的类
查询分页拦截
MagicPageInterceptor() - 类 的构造器top.lingkang.mm.page.MagicPageInterceptor
 
MagicReflector - top.lingkang.mm.override中的类
增加驼峰转化 get 、set
MagicReflector(Class<?>) - 类 的构造器top.lingkang.mm.override.MagicReflector
 
MagicReflectorFactory - top.lingkang.mm.override中的类
配置 Reflector 反射解析,用于下划线转驼峰、驼峰转化 get 、set (推荐加载)
MagicReflectorFactory() - 类 的构造器top.lingkang.mm.override.MagicReflectorFactory
 
MagicSqlSession - top.lingkang.mm中的类
SqlSession 的代理实现
MagicSqlSession(SqlSessionFactory, ExecutorType) - 类 的构造器top.lingkang.mm.MagicSqlSession
 
MagicTransaction - top.lingkang.mm.transaction中的类
 
MagicTransaction(DataSource) - 类 的构造器top.lingkang.mm.transaction.MagicTransaction
 
MagicTransactionFactory - top.lingkang.mm.transaction中的类
 
MagicTransactionFactory() - 类 的构造器top.lingkang.mm.transaction.MagicTransactionFactory
 
MagicUtils - top.lingkang.mm.utils中的类
 
MagicUtils() - 类 的构造器top.lingkang.mm.utils.MagicUtils
 
MapperManage - top.lingkang.mm.orm中的接口
对表数据进行正删改查,若要更新更复杂的sql,请使用mapper.xml进行编写
MapperManageImpl - top.lingkang.mm.orm中的类
 
MapperManageImpl(Configuration, SqlSession) - 类 的构造器top.lingkang.mm.orm.MapperManageImpl
 

N

ne(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
ne(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
newTransaction(Connection) - 类 中的方法top.lingkang.mm.transaction.MagicTransactionFactory
 
newTransaction(DataSource, TransactionIsolationLevel, boolean) - 类 中的方法top.lingkang.mm.transaction.MagicTransactionFactory
 
nextId(String) - 类 中的方法top.lingkang.mm.gen.DefaultIdGenerate
 
nextId(String) - 接口 中的方法top.lingkang.mm.gen.IdGenerate
 
notIn(String, Collection) - 类 中的方法top.lingkang.mm.orm.Query
 
notIn(String, Collection) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
notLike(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
notLike(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
notLikeLeft(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
notLikeLeft(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
notLikeRight(String, Object) - 类 中的方法top.lingkang.mm.orm.Query
 
notLikeRight(String, Object) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 

O

one(Map<String, Object>) - 接口 中的方法top.lingkang.mm.orm.MagicCreateLangMapper
 
or() - 类 中的方法top.lingkang.mm.orm.Query
 
or() - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
orderBy - 类 中的变量top.lingkang.mm.orm.Query
 
orderBy - 接口 中的静态变量top.lingkang.mm.page.PageSqlHandle
 
orderByAsc(String...) - 类 中的方法top.lingkang.mm.orm.Query
 
orderByAsc(String...) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
orderByDesc(String...) - 类 中的方法top.lingkang.mm.orm.Query
 
orderByDesc(String...) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 

P

PageHelper - top.lingkang.mm.page中的类
 
PageHelper() - 类 的构造器top.lingkang.mm.page.PageHelper
 
PageInfo - top.lingkang.mm.page中的类
分页对象
PageInfo() - 类 的构造器top.lingkang.mm.page.PageInfo
 
pageSqlHandle - 类 中的静态变量top.lingkang.mm.page.PageHelper
分页处理,您可以手动修改实现, 更多请查看:PageSqlHandle
PageSqlHandle - top.lingkang.mm.page中的接口
分页实现。
PageSqlHandleH2 - top.lingkang.mm.page中的类
h2数据库分页处理 {@code // 10 是页长。
PageSqlHandleH2() - 类 的构造器top.lingkang.mm.page.PageSqlHandleH2
 
PageSqlHandleMySql - top.lingkang.mm.page中的类
 
PageSqlHandleMySql() - 类 的构造器top.lingkang.mm.page.PageSqlHandleMySql
 
PageSqlHandlePostgreSql - top.lingkang.mm.page中的类
postgresql 下的分页处理.使用LIMIT和OFFSET子句
PageSqlHandlePostgreSql() - 类 的构造器top.lingkang.mm.page.PageSqlHandlePostgreSql
 
PageSqlHandleSqlite - top.lingkang.mm.page中的类
sqlite分页处理
PageSqlHandleSqlite() - 类 的构造器top.lingkang.mm.page.PageSqlHandleSqlite
 
PageSqlHandleSqlServer - top.lingkang.mm.page中的类
使用OFFSET和FETCH NEXT子句来实现分页查询。
PageSqlHandleSqlServer() - 类 的构造器top.lingkang.mm.page.PageSqlHandleSqlServer
 
PageSqlInfo - top.lingkang.mm.page中的类
 
PageSqlInfo() - 类 的构造器top.lingkang.mm.page.PageSqlInfo
 
param - 类 中的变量top.lingkang.mm.orm.Query
 
PostUpdate - top.lingkang.mm.annotation中的注释类型
执行更新后执行此注解下的方法,无入参。
PreUpdate - top.lingkang.mm.annotation中的注释类型
执行更新前执行此注解下的方法,无入参。

Q

Query - top.lingkang.mm.orm中的类
 
Query() - 类 的构造器top.lingkang.mm.orm.Query
 
QueryColumn - top.lingkang.mm.orm中的类
 
QueryColumn(Class<?>, String...) - 类 的构造器top.lingkang.mm.orm.QueryColumn
 
QueryWrapper<T> - top.lingkang.mm.orm中的类
查询包装对象: QueryWrapper<UserEntity> query = mapperManage.createQuery( "select * from t_user where id>#{id}", UserEntity.class); query.addParam("id", 2); List<UserEntity> list = query.getList(); System.out.println(list);
QueryWrapper(String, Class<T>, MapperManageImpl) - 类 的构造器top.lingkang.mm.orm.QueryWrapper
 

R

rollback() - 类 中的方法top.lingkang.mm.MagicSqlSession
 
rollback(boolean) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
rollback() - 类 中的方法top.lingkang.mm.transaction.MagicTransaction
 
rollback() - 类 中的静态方法top.lingkang.mm.transaction.TransactionManage
 

S

scanResource(String) - 类 中的静态方法top.lingkang.mm.utils.MagicUtils
扫描路径
select(String, Object, ResultHandler) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
select(String, ResultHandler) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
select(String, Object, RowBounds, ResultHandler) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectAll() - 接口 中的方法top.lingkang.mm.orm.BaseMapper
查询所有
selectAll(Class<T>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
查询所有
selectAll(Class<T>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
selectById(Object) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
根据id查询
selectById(Class<T>, Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id查询数据
selectById(Class<T>, Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
selectColumn(QueryColumn) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
查询指定列,并返回指定结果,例如: UserMapper userMapper = mapperManage.getMapper(UserMapper.class); List<Long> list = userMapper.selectColumn( new QueryColumn(Long.class, "id") .gt("id", 1) // 大于1 的id列 );
selectCount() - 接口 中的方法top.lingkang.mm.orm.BaseMapper
查询表数据总行数
selectCursor(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectCursor(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectCursor(String, Object, RowBounds) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectList(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectList(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectList(String, Object, RowBounds) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectMap(String, String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectMap(String, Object, String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectMap(String, Object, String, RowBounds) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectOne(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectOne(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
selectTableSql(Class<T>) - 接口 中的方法top.lingkang.mm.orm.MapperManage
获取实体对象的查询表sql:select id, username, password from t_user
selectTableSql(Class<T>) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
setClassCacheEnabled(boolean) - 类 中的方法top.lingkang.mm.override.MagicReflectorFactory
 
setDataSource(DataSource) - 类 中的方法top.lingkang.mm.MagicConfiguration
 
setIdGenerate(IdGenerate) - 类 中的方法top.lingkang.mm.MagicConfiguration
 
setParam(HashMap<String, Object>) - 类 中的方法top.lingkang.mm.orm.Query
 
setProperties(Properties) - 类 中的方法top.lingkang.mm.transaction.MagicTransactionFactory
 
setSql(String) - 类 中的方法top.lingkang.mm.orm.Query
 
sql - 类 中的变量top.lingkang.mm.orm.Query
 
sql(String) - 类 中的方法top.lingkang.mm.orm.Query
 
sql(String, Map<String, Object>) - 类 中的方法top.lingkang.mm.orm.Query
 
sql(String) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
sql(String, Map<String, Object>) - 类 中的方法top.lingkang.mm.orm.QueryColumn
 
SqlSessionFactoryProxy - top.lingkang.mm中的类
SqlSessionFactory 代理
SqlSessionFactoryProxy(SqlSessionFactory) - 类 的构造器top.lingkang.mm.SqlSessionFactoryProxy
 
startPage(int, int) - 类 中的静态方法top.lingkang.mm.page.PageHelper
开始分页

T

Table - top.lingkang.mm.annotation中的注释类型
表映射实体注解 {@code
top.lingkang.mm - 程序包 top.lingkang.mm
 
top.lingkang.mm.annotation - 程序包 top.lingkang.mm.annotation
 
top.lingkang.mm.constant - 程序包 top.lingkang.mm.constant
 
top.lingkang.mm.error - 程序包 top.lingkang.mm.error
 
top.lingkang.mm.gen - 程序包 top.lingkang.mm.gen
 
top.lingkang.mm.orm - 程序包 top.lingkang.mm.orm
 
top.lingkang.mm.override - 程序包 top.lingkang.mm.override
 
top.lingkang.mm.page - 程序包 top.lingkang.mm.page
 
top.lingkang.mm.transaction - 程序包 top.lingkang.mm.transaction
 
top.lingkang.mm.utils - 程序包 top.lingkang.mm.utils
 
TransactionManage - top.lingkang.mm.transaction中的类
事务管理,在spring体系中不生效。
TransactionManage() - 类 的构造器top.lingkang.mm.transaction.TransactionManage
 

U

UpadateWrapper - top.lingkang.mm.orm中的类
更新包装对象,例1 : UpadateWrapper update = mapperManage.createUpdate("update t_user set password=#{p} where id=#{id}"); update.addParam("p", System.currentTimeMillis()).addParam("id", 1); int execute = update.execute(); log.info("受影响行数: {}", execute); 例2: UpadateWrapper update = mapperManage.createUpdate("insert into t_user(id,username) values (2,#{un})"); update.addParam("un", "lk"); int execute = update.execute(); log.info("受影响行数: {}", execute);
UpadateWrapper(String, MapperManageImpl) - 类 的构造器top.lingkang.mm.orm.UpadateWrapper
 
update(String) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
update(String, Object) - 类 中的方法top.lingkang.mm.MagicSqlSession
 
update(Map<String, Object>) - 接口 中的方法top.lingkang.mm.orm.MagicCreateLangMapper
 
updateById(T) - 接口 中的方法top.lingkang.mm.orm.BaseMapper
根据id进行更新
updateById(Object) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id更新实体
updateById(Object, boolean) - 接口 中的方法top.lingkang.mm.orm.MapperManage
根据id更新实体
updateById(Object) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 
updateById(Object, boolean) - 类 中的方法top.lingkang.mm.orm.MapperManageImpl
 

V

valueOf(String) - 枚举 中的静态方法top.lingkang.mm.constant.IdType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法top.lingkang.mm.orm.Condition
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法top.lingkang.mm.constant.IdType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法top.lingkang.mm.orm.Condition
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A B C D E F G H I L M N O P Q R S T U V 
跳过导航链接

Copyright © 2024 lingkang. All rights reserved.