| 程序包 | 说明 |
|---|---|
| cn.org.atool.fluent.mybatis.base.mapper | |
| cn.org.atool.fluent.mybatis.mapper | |
| cn.org.atool.fluent.mybatis.spring | |
| cn.org.atool.fluent.mybatis.utility |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
IRichMapper<E extends IEntity>
IDaoMapper: 非mybatis mapper原子接口, 属于组装方法
|
interface |
IWrapperMapper<E extends IEntity,Q extends IQuery<E>,U extends IUpdate<E>>
以下方法在EntityMapper中实现接口default方法
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrinterMapper
PrinterMapper: 不实际执行sql语句, 只输出sql语句
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<IEntityMapper> |
MapperFactory.getMappers() |
Collection<IEntityMapper> |
IMapperFactory.getMappers()
返回Mapper实例列表
|
| 限定符和类型 | 字段和说明 |
|---|---|
static KeyMap<IEntityMapper> |
RefKit.ENTITY_MAPPER
EntityClass 和 Mapper实例关联关系
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <M extends IEntityMapper> |
RefKit.mapperByEntity(Class entityClass) |
static <M extends IEntityMapper> |
RefKit.mapperByEntity(String entityClass) |
Copyright © 2022. All rights reserved.