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