public class BaseUpdateProvider extends MapperTemplate
entityClassMap, mapperBuilder, mapperClass, methodMap| Constructor and Description |
|---|
BaseUpdateProvider(Class<?> mapperClass,
MapperBuilder mapperBuilder) |
| Modifier and Type | Method and Description |
|---|---|
String |
updateByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新全部字段
|
String |
updateByPrimaryKeySelective(org.apache.ibatis.mapping.MappedStatement ms)
通过主键更新不为null的字段
|
addMethodMap, createSqlSource, dynamicSQL, getEntityClass, getIdentity, getIDENTITY, getSeqNextVal, getUUID, isBEFORE, isCheckEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableNamepublic BaseUpdateProvider(Class<?> mapperClass, MapperBuilder mapperBuilder)
public String updateByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementpublic String updateByPrimaryKeySelective(org.apache.ibatis.mapping.MappedStatement ms)
ms - MappedStatementCopyright © 2020. All rights reserved.