接口 InsertMapper<T>

  • 类型参数:
    T - 不能为空
    所有已知子接口:
    BaseInsertMapper<T>, BaseMapper<T>, Mapper<T>

    public interface InsertMapper<T>
    通用Mapper接口,插入
    作者:
    liuzh
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      int insert​(T record)
      保存一个实体,null的属性也会保存,不会使用数据库默认值
    • 方法详细资料

      • insert

        @InsertProvider(type=BaseInsertProvider.class,
                        method="dynamicSQL")
        int insert​(T record)
        保存一个实体,null的属性也会保存,不会使用数据库默认值
        参数:
        record -
        返回: