public interface UpdateByPrimaryKeySelectiveForceMapper<T>
Modifier and Type | Method and Description |
---|---|
int |
updateByPrimaryKeySelectiveForce(T record,
List<String> forceUpdateProperties)
根据主键更新属性不为null的值, 指定的属性(null值)会被强制更新
|
@UpdateProvider(type=UpdateByPrimaryKeySelectiveForceProvider.class, method="dynamicSQL") int updateByPrimaryKeySelectiveForce(@Param(value="record") T record, @Param(value="forceUpdateProperties") List<String> forceUpdateProperties)
record
- forceUpdateProperties
- Copyright © 2018. All rights reserved.