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