Interface UpdateByPrimaryKeyMapper<T>
- Type Parameters:
T- 不能为空
- All Known Subinterfaces:
BaseMapper<T>,BaseUpdateMapper<T>,Mapper<T>
public interface UpdateByPrimaryKeyMapper<T>
通用Mapper接口,更新
- Author:
- liuzh
-
Method Summary
-
Method Details
-
updateByPrimaryKey
@UpdateProvider(type=BaseUpdateProvider.class, method="dynamicSQL") int updateByPrimaryKey(T record) 根据主键更新实体全部字段,null值会被更新- Parameters:
record-- Returns:
-