接口 CustomInsertSelectiveMapper<T>

  • 所有已知子接口:
    BaseMapper<T>

    public interface CustomInsertSelectiveMapper<T>
    • 方法详细资料

      • insertBatch

        @Options(useGeneratedKeys=true)
        @InsertProvider(type=InsertBatchProvider.class,
                        method="dynamicSQL")
        int insertBatch​(List<T> record)
        批量插入
        参数:
        record - 需要插入的数据List
        返回:
        成功插入条数