A B C D E G I N S T U 

A

applyOrderBy(SQL, MetaObject, String) - 类 中的方法com.github.abel533.entity.BaseProvider
Example条件
applyWhere(SQL, MetaObject) - 类 中的方法com.github.abel533.entity.BaseProvider
Example条件
applyWherePk(SQL, MetaObject, Set<EntityHelper.EntityColumn>, String) - 类 中的方法com.github.abel533.entity.BaseProvider
根据主键查询

B

BaseProvider - com.github.abel533.entity中的类
基础类
BaseProvider() - 类 的构造器com.github.abel533.entity.BaseProvider
 

C

com.github.abel533.entity - 程序包 com.github.abel533.entity
 
com.github.abel533.entity.mapper - 程序包 com.github.abel533.entity.mapper
 
com.github.abel533.sql - 程序包 com.github.abel533.sql
 
CommonMapper - com.github.abel533.entity.mapper中的接口
这个仍然是接口类,不需要被继承,可以直接用
CommonProvider - com.github.abel533.entity中的类
 
CommonProvider() - 类 的构造器com.github.abel533.entity.CommonProvider
 
count(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
count(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询总数,record可以是Class
count(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询总数,record可以是Class
countByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
countByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example类来查询count
countByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example类来查询count
countByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example类来查询count

D

delete(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过查询条件删除
delete(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据条件进行删除,条件不能为空,并且必须有至少一个条件才能删除
该方法不能直接删除全部数据
delete(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据条件进行删除,条件不能为空,并且必须有至少一个条件才能删除
该方法不能直接删除全部数据
delete(String) - 类 中的方法com.github.abel533.sql.SqlMapper
删除数据
delete(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
删除数据
deleteByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
deleteByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example删除
deleteByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example删除
deleteByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example删除
deleteByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键删除
deleteByPrimaryKey(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键进行删除,主键不能为null或空
deleteByPrimaryKey(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键进行删除,主键不能为null或空

E

EntityMapper - com.github.abel533.entity中的类
封装的CommonMapper,实际上只对select方法做了处理

该类起名Mapper结尾只是为了表面上看着统一,实际上和普通的Mapper不是一类东西

EntityMapper(CommonMapper) - 类 的构造器com.github.abel533.entity.EntityMapper
 

G

getEntity(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取实体类
getEntityClass(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取实体类型
getExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取Example类 - 不在此校验是否为合法的Example类

I

insert(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
新增
insert(T) - 类 中的方法com.github.abel533.entity.EntityMapper
插入数据库,主键字段没有值的时候不会出现在sql中
如果是自增主键,会自动获取值
如果是自增主键,并且该主键属性有值,会使用主键的属性值,不会使用自增
insert(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
插入数据库,主键字段没有值的时候不会出现在sql中
如果是自增主键,会自动获取值
如果是自增主键,并且该主键属性有值,会使用主键的属性值,不会使用自增
insert(String) - 类 中的方法com.github.abel533.sql.SqlMapper
插入数据
insert(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
插入数据
insertSelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
新增非空字段,空字段可以使用表的默认值
insertSelective(T) - 类 中的方法com.github.abel533.entity.EntityMapper
插入非空字段,其他和上面方法类似
insertSelective(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
插入非空字段,其他和上面方法类似
isEmpty(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 
isNotEmpty(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 

N

notNullKeyProperty(String, Object) - 类 中的方法com.github.abel533.entity.BaseProvider
主键字段不能为空

S

select(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
select(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询,record可以是Class
select(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询,record可以是Class
selectByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
selectByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example来查询
selectByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example来查询
selectByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example来查询
selectByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键查询,主键字段都不能为空
selectByPrimaryKey(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键查询结果,主键不能为null或空
selectByPrimaryKey(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键查询结果,主键不能为null或空
selectList(String) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回List>
selectList(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回List>
selectList(String, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回指定的结果类型
selectList(String, Object, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回指定的结果类型
selectOne(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
selectOne(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询,查询结果最多只能有一个
查询条件为属性String类型不为空,其他类型!
selectOne(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询,查询结果最多只能有一个
查询条件为属性String类型不为空,其他类型!
selectOne(String) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Object, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
SqlMapper - com.github.abel533.sql中的类
MyBatis执行sql工具
SqlMapper(SqlSession) - 类 的构造器com.github.abel533.sql.SqlMapper
构造方法,默认缓存MappedStatement

T

throwNullKeyException(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 

U

update(String) - 类 中的方法com.github.abel533.sql.SqlMapper
更新数据
update(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
更新数据
updateByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
updateByExample(T, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example进行更新全部字段
updateByExample(T, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example进行更新全部字段
updateByExampleSelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
updateByExampleSelective(T, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example进行更新非空字段
updateByExampleSelective(T, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example进行更新非空字段
updateByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键更新
updateByPrimaryKey(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键更新全部字段,空字段也会更新数据库
updateByPrimaryKey(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键更新全部字段,空字段也会更新数据库
updateByPrimaryKeySelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键更新非空字段
updateByPrimaryKeySelective(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键更新非空属性字段,不能给数据库数据设置null或空
updateByPrimaryKeySelective(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键更新非空属性字段,不能给数据库数据设置null或空
A B C D E G I N S T U 

Copyright © 2015. All rights reserved.