| 程序包 | 说明 |
|---|---|
| cn.org.atool.fluent.mybatis.base.mapper | |
| cn.org.atool.fluent.mybatis.base.provider | |
| cn.org.atool.fluent.mybatis.mapper |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
IEntityMapper<E extends IEntity>
IEntityMapper: 实例Mapper基类,Mapper 继承该接口后,无需编写 mapper.xml 文件,即可获得CRUD功能
|
interface |
IRichMapper<E extends IEntity>
IDaoMapper: 非mybatis mapper原子接口, 属于组装方法
|
interface |
IWrapperMapper<E extends IEntity,Q extends IQuery<E>,U extends IUpdate<E>>
以下方法在EntityMapper中实现接口default方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SqlKit |
SqlKitFactory.factory(IHasMapping obj) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrinterMapper
PrinterMapper: 不实际执行sql语句, 只输出sql语句
|
Copyright © 2021. All rights reserved.