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