public class BaseSelectProvider extends MapperTemplate
entityClassMap, mapperBuilder, mapperClass, methodMap| Constructor and Description |
|---|
BaseSelectProvider(Class<?> mapperClass,
MapperBuilder mapperBuilder) |
| Modifier and Type | Method and Description |
|---|---|
String |
existsWithPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
根据主键查询总数
|
String |
select(org.apache.ibatis.mapping.MappedStatement ms)
查询
|
String |
selectAll(org.apache.ibatis.mapping.MappedStatement ms)
查询全部结果
|
String |
selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
根据主键进行查询
|
String |
selectByRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
查询
|
String |
selectCount(org.apache.ibatis.mapping.MappedStatement ms)
查询总数
|
String |
selectOne(org.apache.ibatis.mapping.MappedStatement ms)
查询
|
addMethodMap, createSqlSource, dynamicSQL, getEntityClass, getIdentity, getIDENTITY, getSeqNextVal, getUUID, isBEFORE, isCheckEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableNamepublic BaseSelectProvider(Class<?> mapperClass, MapperBuilder mapperBuilder)
public String selectOne(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String select(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String selectByRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String selectCount(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String existsWithPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String selectAll(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementCopyright © 2019. All rights reserved.