Interface UpdateByPrimaryKeySelectiveMapper<T>

Type Parameters:
T - 泛型
All Known Subinterfaces:
BasicMapper<T>, BasicUpdateMapper<T>, Mapper<T>

public interface UpdateByPrimaryKeySelectiveMapper<T>
通用Mapper接口,更新
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    根据主键更新属性不为null的值
  • Method Details

    • updateByPrimaryKeySelective

      @UpdateProvider(type=BasicUpdateProvider.class, method="dynamicSQL") int updateByPrimaryKeySelective(T record)
      根据主键更新属性不为null的值
      Parameters:
      record - 泛型对象
      Returns:
      the int 操作结果