| 程序包 | 说明 |
|---|---|
| top.zephyrs.mybatis.semi.injects | |
| top.zephyrs.mybatis.semi.injects.methods | |
| top.zephyrs.mybatis.semi.metadata | |
| top.zephyrs.mybatis.semi.plugins.keygenerate |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.mapping.MappedStatement |
InjectMethod.addMappedStatement(TableInfo tableInfo,
org.apache.ibatis.builder.MapperBuilderAssistant assistant,
String id,
org.apache.ibatis.mapping.SqlSource sqlSource,
org.apache.ibatis.mapping.StatementType statementType,
org.apache.ibatis.mapping.SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
org.apache.ibatis.mapping.ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
org.apache.ibatis.scripting.LanguageDriver lang,
String resultSets,
boolean dirtySelect) |
org.apache.ibatis.mapping.MappedStatement |
AbstractInjectMethod.addMappedStatement(TableInfo tableInfo,
org.apache.ibatis.builder.MapperBuilderAssistant assistant,
String id,
org.apache.ibatis.mapping.SqlSource sqlSource,
org.apache.ibatis.mapping.StatementType statementType,
org.apache.ibatis.mapping.SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
org.apache.ibatis.mapping.ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
org.apache.ibatis.scripting.LanguageDriver lang,
String resultSets,
boolean dirtySelect) |
protected abstract String |
AbstractInjectMethod.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo)
构建sql语句
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.mapping.MappedStatement |
Insert.addMappedStatement(TableInfo tableInfo,
org.apache.ibatis.builder.MapperBuilderAssistant assistant,
String id,
org.apache.ibatis.mapping.SqlSource sqlSource,
org.apache.ibatis.mapping.StatementType statementType,
org.apache.ibatis.mapping.SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
org.apache.ibatis.mapping.ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
org.apache.ibatis.scripting.LanguageDriver lang,
String resultSets,
boolean dirtySelect) |
String |
UpdateById.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
ToggleEnable.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
SelectByQuery.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
SelectById.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
SelectAll.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
Insert.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
Enable.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
Disable.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
String |
DeleteById.buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
static TableInfo |
MetadataHelper.getTableInfo(Class<?> type) |
static TableInfo |
MetadataHelper.getTableInfo(GlobalConfig config,
Class<?> type) |
static TableInfo |
MetadataHelper.getTableInfo(GlobalConfig config,
Class<?> type,
boolean loadIfNotExists) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ColumnInfo |
MetadataHelper.getColumnByFieldName(TableInfo tableInfo,
String fieldName) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
KeyHelper.setKey(SemiMybatisConfiguration configuration,
Object parameter,
TableInfo tableInfo) |
Copyright © 2024. All rights reserved.