Interface UpdateByPrimaryKeyMapper<T>
- Type Parameters:
T- 泛型
- All Known Subinterfaces:
BasicMapper<T>,BasicUpdateMapper<T>,Mapper<T>
public interface UpdateByPrimaryKeyMapper<T>
通用Mapper接口,更新
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
-
Method Details
-
updateByPrimaryKey
@UpdateProvider(type=BasicUpdateProvider.class, method="dynamicSQL") int updateByPrimaryKey(T record) 根据主键更新实体全部字段,null值会被更新- Parameters:
record- 泛型对象- Returns:
- the int 操作结果
-