| 限定符和类型 | 方法和说明 |
|---|---|
Config |
TemplateContext.getConfig()
获取通用Mapper配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TemplateContext.setConfig(Config config)
设置通用Mapper配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
AssociationSqlHelper.fromTable(java.lang.Class<?> entityClass,
Config config)
from tableName - 动态表名
|
static java.lang.String |
AssociationSqlHelper.getAssociationTable(java.lang.String masterTableName,
EntityField field,
Config config) |
static void |
AssociationSqlHelper.registerEntityClass(java.lang.Class<?> entityClass,
Config config) |
static java.lang.String |
AssociationSqlHelper.tableName(java.lang.Class<?> entityClass,
Config config)
获取实体的表名以及关联表名
|
| 限定符和类型 | 方法和说明 |
|---|---|
Config |
MapperTemplate.getConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TableProcessor.process(EntityTable entityTable,
Config config) |
static void |
EntityTableFactory.register(java.lang.Class<?> entityClass,
Config config)
初始化实体属性
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultTableProcessor.process(EntityTable entityTable,
Config config) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
FlagwindProperties
这个类存在的主要目的是方便 IDE 自动提示 mapper.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ClassPathMapperScanner.setConfig(Config config)
配置通用 Mapper
|
Copyright © 2018. All Rights Reserved.