Interface UpdateByPrimaryKeySelectiveForceMapper<T>
public interface UpdateByPrimaryKeySelectiveForceMapper<T>
- Author:
- qrqhuangcy
-
Method Summary
Modifier and TypeMethodDescriptionintupdateByPrimaryKeySelectiveForce(T record, List<String> forceUpdateProperties) 根据主键更新属性不为null的值, 指定的属性(null值)会被强制更新
-
Method Details
-
updateByPrimaryKeySelectiveForce
@UpdateProvider(type=UpdateByPrimaryKeySelectiveForceProvider.class, method="dynamicSQL") int updateByPrimaryKeySelectiveForce(@Param("record") T record, @Param("forceUpdateProperties") List<String> forceUpdateProperties) 根据主键更新属性不为null的值, 指定的属性(null值)会被强制更新- Parameters:
record-forceUpdateProperties-- Returns:
-