public class MapperProvider extends MapperTemplate
| 构造器和说明 |
|---|
MapperProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.scripting.xmltags.SqlNode |
delete(org.apache.ibatis.mapping.MappedStatement ms)
通过条件删除
|
org.apache.ibatis.scripting.xmltags.SqlNode |
deleteByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example删除
|
void |
deleteByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
通过主键删除
|
org.apache.ibatis.scripting.xmltags.SqlNode |
insert(org.apache.ibatis.mapping.MappedStatement ms)
插入全部
|
org.apache.ibatis.scripting.xmltags.SqlNode |
insertSelective(org.apache.ibatis.mapping.MappedStatement ms)
插入不为null的字段
|
org.apache.ibatis.scripting.xmltags.SqlNode |
select(org.apache.ibatis.mapping.MappedStatement ms)
查询
|
org.apache.ibatis.scripting.xmltags.SqlNode |
selectByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询
|
void |
selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
根据主键进行查询
|
org.apache.ibatis.scripting.xmltags.SqlNode |
selectCount(org.apache.ibatis.mapping.MappedStatement ms)
查询总数
|
org.apache.ibatis.scripting.xmltags.SqlNode |
selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example查询总数
|
org.apache.ibatis.scripting.xmltags.SqlNode |
selectOne(org.apache.ibatis.mapping.MappedStatement ms)
查询
|
org.apache.ibatis.scripting.xmltags.SqlNode |
updateByExample(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新
|
org.apache.ibatis.scripting.xmltags.SqlNode |
updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)
根据Example更新非null字段
|
org.apache.ibatis.scripting.xmltags.SqlNode |
updateByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新全部字段
|
org.apache.ibatis.scripting.xmltags.SqlNode |
updateByPrimaryKeySelective(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新不为null的字段
|
addMethodMap, dynamicSQL, ExampleValidSqlNode, exampleWhereClause, forObject, getAllIfColumnNode, getBEFORE, getColumnEqualsProperty, getColumnParameterMappings, getIDENTITY, getIfCacheIsNull, getIfCacheNotNull, getIfIsNull, getIfNotNull, getIfNotNull, getMapperClass, getMethodName, getMethodName, getPrimaryKeyParameterMappings, getSelectReturnType, getSeqNextVal, getUUID, newSelectKeyMappedStatement, setResultType, setSqlSource, setSqlSource, supportMethod, tableName, updateByExampleWhereClausepublic MapperProvider(Class<?> mapperClass, MapperHelper mapperHelper)
public org.apache.ibatis.scripting.xmltags.SqlNode selectOne(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode select(org.apache.ibatis.mapping.MappedStatement ms)
ms - public void selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode selectCount(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode insert(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode insertSelective(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode delete(org.apache.ibatis.mapping.MappedStatement ms)
ms - public void deleteByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode updateByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode updateByPrimaryKeySelective(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode selectCountByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode deleteByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode selectByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode updateByExampleSelective(org.apache.ibatis.mapping.MappedStatement ms)
ms - public org.apache.ibatis.scripting.xmltags.SqlNode updateByExample(org.apache.ibatis.mapping.MappedStatement ms)
ms - Copyright © 2015. All rights reserved.