public class ExampleProvider extends MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap
Constructor and Description |
---|
ExampleProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
Modifier and Type | Method and Description |
---|---|
String |
deleteByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example删除
|
String |
selectByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询
|
String |
selectByExampleAndRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询
|
String |
selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询总数
|
String |
selectOneByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询一个结果
|
String |
updateByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新
|
String |
updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新非null字段
|
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
public ExampleProvider(Class<?> mapperClass, MapperHelper mapperHelper)
public String selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String deleteByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectByExampleAndRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String updateByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms
- public String selectOneByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms
- Copyright © 2018. All rights reserved.