Class UpdateByDifferProvider
java.lang.Object
org.miaixz.bus.mapper.builder.MapperTemplate
org.miaixz.bus.mapper.additional.update.differ.UpdateByDifferProvider
-
Field Summary
FieldsFields inherited from class org.miaixz.bus.mapper.builder.MapperTemplate
entityClassMap, mapperBuilder, mapperClass, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIfNotEqual(EntityColumn column, String contents) 判断自动!updateByDiffer(org.apache.ibatis.mapping.MappedStatement ms) 差异更新updateSetColumnsByDiffer(Class<?> entityClass) update set列wherePKColumns(Class<?> entityClass, boolean useVersion) where主键条件whereVersion(Class<?> entityClass) 乐观锁字段条件Methods inherited from class org.miaixz.bus.mapper.builder.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckConditionEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Field Details
-
OLD
- See Also:
-
NEWER
- See Also:
-
-
Constructor Details
-
UpdateByDifferProvider
-
-
Method Details
-
updateByDiffer
差异更新- Parameters:
ms- MappedStatement- Returns:
- the string
-
wherePKColumns
-
whereVersion
-
updateSetColumnsByDiffer
-
getIfNotEqual
判断自动!=null的条件结构- Parameters:
column- 列contents- 内容- Returns:
- the string
-