# BookContentMapper
Date: 2020-05-30

com.java2nb.novel.book.mapper

## 接口 BookContentMapper

    @Mapper
    public interface BookContentMapper

### 方法概要

所有方法 实例方法 抽象方法 默认方法
`long` `count(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.lang.Long>>` `countByExample()`
`int` `delete(org.mybatis.dynamic.sql.delete.render.DeleteStatementProvider deleteStatement)`
`default org.mybatis.dynamic.sql.delete.DeleteDSL<org.mybatis.dynamic.sql.delete.MyBatis3DeleteModelAdapter<java.lang.Integer>>` `deleteByExample()`
`default int` `deleteByPrimaryKey(java.lang.Long id_)`
`default int` `insert(BookContent record)`
`int` `insert(org.mybatis.dynamic.sql.insert.render.InsertStatementProvider<BookContent> insertStatement)`
`default int` `insertSelective(BookContent record)`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<BookContent>>>` `selectByExample()`
`default BookContent` `selectByPrimaryKey(java.lang.Long id_)`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<BookContent>>>` `selectDistinctByExample()`
`java.util.List<BookContent>` `selectMany(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`
`BookContent` `selectOne(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`
`int` `update(org.mybatis.dynamic.sql.update.render.UpdateStatementProvider updateStatement)`
`default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>>` `updateByExample(BookContent record)`
`default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>>` `updateByExampleSelective(BookContent record)`
`default int` `updateByPrimaryKey(BookContent record)`
`default int` `updateByPrimaryKeySelective(BookContent record)`

### 方法详细资料

#### count

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @SelectProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="select")
    long count(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)

#### delete

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @DeleteProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="delete")
    int delete(org.mybatis.dynamic.sql.delete.render.DeleteStatementProvider deleteStatement)

#### insert

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @InsertProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="insert")
    int insert(org.mybatis.dynamic.sql.insert.render.InsertStatementProvider<BookContent> insertStatement)

#### selectOne

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @SelectProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="select")
     @ResultMap(value="BookContentResult")
    BookContent selectOne(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)

#### selectMany

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @SelectProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="select")
     @Results(id="BookContentResult",value={@Result(column="id",property="id",jdbcType=BIGINT,id=true),@Result(column="index_id",property="indexId",jdbcType=BIGINT),@Result(column="content",property="content",jdbcType=VARCHAR)})
    java.util.List<BookContent> selectMany(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)

#### update

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @UpdateProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="update")
    int update(org.mybatis.dynamic.sql.update.render.UpdateStatementProvider updateStatement)

#### countByExample

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.lang.Long>> countByExample()

#### deleteByExample

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.delete.DeleteDSL<org.mybatis.dynamic.sql.delete.MyBatis3DeleteModelAdapter<java.lang.Integer>> deleteByExample()

#### deleteByPrimaryKey

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int deleteByPrimaryKey(java.lang.Long id_)

#### insert

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int insert(BookContent record)

#### insertSelective

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int insertSelective(BookContent record)

#### selectByExample

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<BookContent>>> selectByExample()

#### selectDistinctByExample

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<BookContent>>> selectDistinctByExample()

#### selectByPrimaryKey

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default BookContent selectByPrimaryKey(java.lang.Long id_)

#### updateByExample

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>> updateByExample(BookContent record)

#### updateByExampleSelective

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>> updateByExampleSelective(BookContent record)

#### updateByPrimaryKey

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int updateByPrimaryKey(BookContent record)

#### updateByPrimaryKeySelective

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int updateByPrimaryKeySelective(BookContent record)