Interface InsertSelectiveMapper<T>

Type Parameters:
T - 泛型
All Known Subinterfaces:
SqlServerMapper<T>

public interface InsertSelectiveMapper<T>
SqlServer,插入
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    插入数据库,`null`值不会插入
  • Method Details

    • insertSelective

      @Options(useGeneratedKeys=true) @InsertProvider(type=SqlServerProvider.class, method="dynamicSQL") int insertSelective(T record)
      插入数据库,`null`值不会插入
      Parameters:
      record - 泛型对象
      Returns:
      the int 操作结果