T - 不能为空public interface UpdateByExampleSelectiveMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
updateByExampleSelective(T record,
Object example)
根据Example条件更新实体`record`包含的不是null的属性值
|
@UpdateProvider(type=ExampleProvider.class, method="dynamicSQL") @Options(useCache=false, useGeneratedKeys=false) int updateByExampleSelective(@Param(value="record") T record, @Param(value="example") Object example)
record - example - Copyright © 2017. All rights reserved.