Package tk.mybatis.mapper.common.example
Interface UpdateByExampleSelectiveMapper<T>
- Type Parameters:
T- 不能为空
- All Known Subinterfaces:
ExampleMapper<T>,Mapper<T>
public interface UpdateByExampleSelectiveMapper<T>
通用Mapper接口,Example查询
- Author:
- liuzh
-
Method Summary
Modifier and TypeMethodDescriptionintupdateByExampleSelective(T record, Object example) 根据Example条件更新实体`record`包含的不是null的属性值
-
Method Details
-
updateByExampleSelective
@UpdateProvider(type=ExampleProvider.class, method="dynamicSQL") int updateByExampleSelective(@Param("record") T record, @Param("example") Object example) 根据Example条件更新实体`record`包含的不是null的属性值- Parameters:
record-example-- Returns:
-