public class Insert extends AbstractInjectMethod
| 构造器和说明 |
|---|
Insert() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.mapping.MappedStatement |
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 |
buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo)
构建sql语句
|
String |
getId() |
org.apache.ibatis.mapping.SqlCommandType |
getSqlCommandType() |
createSqlSource, databaseId, isDirtySelectpublic String getId()
public org.apache.ibatis.mapping.SqlCommandType getSqlCommandType()
public org.apache.ibatis.mapping.MappedStatement 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)
addMappedStatement 在接口中 InjectMethodaddMappedStatement 在类中 AbstractInjectMethodpublic String buildSqlScript(SemiMybatisConfiguration configuration, Class<?> beanClass, Class<?> parameterTypeClass, TableInfo tableInfo)
AbstractInjectMethodbuildSqlScript 在类中 AbstractInjectMethodconfiguration - mybatis配置信息beanClass - Mapper的泛型的具体类型parameterTypeClass - 参数类型tableInfo - 对应的 表信息,包含列,字段,表名等等Copyright © 2024. All rights reserved.