public class BaseUpdateProvider extends MapperTemplate
entityClassMap, mapperClass, mapperResolver, methodMap| 构造器和说明 |
|---|
BaseUpdateProvider(Class<?> mapperClass,
MapperResolver mapperResolver) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
modify(org.apache.ibatis.mapping.MappedStatement ms)
批量更新部分字段
|
String |
update(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新全部字段
|
String |
updateSelective(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新不为null的字段
|
addMethodMap, createSqlSource, dynamicSQL, getDialect, getEntityClass, getIDENTITY, getIDENTITY, getPrimaryKeyParameterMappings, getSeqNextVal, getUUID, isBEFORE, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName, tableNamepublic BaseUpdateProvider(Class<?> mapperClass, MapperResolver mapperResolver)
public String update(org.apache.ibatis.mapping.MappedStatement ms)
ms - public String modify(org.apache.ibatis.mapping.MappedStatement ms)
ms - public String updateSelective(org.apache.ibatis.mapping.MappedStatement ms)
ms - Copyright © 2018. All rights reserved.