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