public class BaseSelectProvider extends MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap
Constructor and Description |
---|
BaseSelectProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
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, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
public BaseSelectProvider(Class<?> mapperClass, MapperHelper mapperHelper)
public String selectOne(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String select(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectByRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectCount(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String existsWithPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectAll(org.apache.ibatis.mapping.MappedStatement ms)
ms
- Copyright © 2018. All rights reserved.