| 程序包 | 说明 |
|---|---|
| cn.xbatis.core.mvc.impl | |
| cn.xbatis.core.mybatis.mapper | |
| cn.xbatis.core.sql.executor.chain |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseDaoImpl<M extends BaseMapper,T,ID> |
| 限定符和类型 | 字段和说明 |
|---|---|
protected M |
BaseDaoImpl.mapper |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
BasicMapper |
interface |
MybatisMapper<T>
数据库 Mapper
$ 开头的方法一般不建议去使用
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected BaseMapper |
DeleteChain.mapper |
protected BaseMapper |
UpdateChain.mapper |
protected BaseMapper |
InsertChain.mapper |
protected BaseMapper |
QueryChain.mapper |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteChain |
DeleteChain.of(BaseMapper mapper,
Class<?> entityType) |
static UpdateChain |
UpdateChain.of(BaseMapper mapper,
Class<?> entityType) |
static InsertChain |
InsertChain.of(BaseMapper mapper,
Class<?> entityType) |
static DeleteChain |
DeleteChain.of(BaseMapper mapper,
Class<?> entityType,
Where where) |
static UpdateChain |
UpdateChain.of(BaseMapper mapper,
Class<?> entityType,
Where where) |
static <T> QueryChain<T> |
QueryChain.of(BaseMapper mapper,
Class<T> entityType) |
static <T> QueryChain<T> |
QueryChain.of(BaseMapper mapper,
Class<T> entityType,
Where where) |
DeleteChain |
DeleteChain.withMapper(BaseMapper mapper,
Class<?> entityType)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
UpdateChain |
UpdateChain.withMapper(BaseMapper mapper,
Class<?> entityType)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
InsertChain |
InsertChain.withMapper(BaseMapper mapper,
Class<?> entityType)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
QueryChain<T> |
QueryChain.withMapper(BaseMapper mapper,
Class<?> entityType)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
| 构造器和说明 |
|---|
DeleteChain(BaseMapper mapper,
Class<?> entityType) |
DeleteChain(BaseMapper mapper,
Class<?> entityType,
Where where) |
InsertChain(BaseMapper mapper,
Class<?> entityType) |
QueryChain(BaseMapper mapper,
Class<T> entityType) |
QueryChain(BaseMapper mapper,
Class<T> entityType,
Where where) |
UpdateChain(BaseMapper mapper,
Class<?> entityType) |
UpdateChain(BaseMapper mapper,
Class<?> entityType,
Where where) |
Copyright © 2025. All rights reserved.