接口 InsertSelectiveMapper<T>

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

    public interface InsertSelectiveMapper<T>
    通用Mapper接口,插入
    作者:
    liuzh
    • 方法详细资料

      • insertSelective

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