public class BaseUpdateProvider extends MapperTemplate
| 构造器和说明 |
|---|
BaseUpdateProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, createSqlSource, dynamicSQL, ExampleValidSqlNode, exampleWhereClause, getAllIfColumnNode, getColumnEqualsProperty, getColumnParameterMappings, getDynamicTableName, getDynamicTableName, getDynamicTableNameNode, getDynamicTableNameNode, getEntityClass, getIDENTITY, getIfCacheIsNull, getIfCacheNotNull, getIfIsNull, getIfNotNull, getIfNotNull, getMapperClass, getMethodName, getMethodName, getPrimaryKeyParameterMappings, getSeqNextVal, getUUID, isBEFORE, isNotEmpty, newSelectKeyMappedStatement, setResultType, setSqlSource, setSqlSource, supportMethod, tableName, updateByExampleWhereClausepublic BaseUpdateProvider(Class<?> mapperClass, MapperHelper mapperHelper)
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 - Copyright © 2015. All rights reserved.