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