Interface InsertMapper<T>

Type Parameters:
T - 不能为空
All Known Subinterfaces:
SqlServerMapper<T>

public interface InsertMapper<T>
通用Mapper接口,插入
Author:
liuzh
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    insert(T record)
    插入数据库,`null`值也会插入,不会使用列的默认值
  • Method Details

    • insert

      @Options(useGeneratedKeys=true) @InsertProvider(type=SqlServerProvider.class, method="dynamicSQL") int insert(T record)
      插入数据库,`null`值也会插入,不会使用列的默认值
      Parameters:
      record -
      Returns: