T
- 不能为空public interface UpdateByConditionSelectiveMapper<T>
Modifier and Type | Method and Description |
---|---|
int |
updateByConditionSelective(T record,
Object condition)
根据Condition条件更新实体`record`包含的不是null的属性值
|
@UpdateProvider(type=ConditionProvider.class, method="dynamicSQL") int updateByConditionSelective(@Param(value="record") T record, @Param(value="example") Object condition)
record
- condition
- Copyright © 2018. All rights reserved.