# AuthorMapper
Date: 2020-05-30

com.java2nb.novel.author.mapper

## 接口 AuthorMapper

    @Mapper
    public interface AuthorMapper

### 方法概要

所有方法 实例方法 抽象方法 默认方法
`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(Author record)`
`int` `insert(org.mybatis.dynamic.sql.insert.render.InsertStatementProvider<Author> insertStatement)`
`default int` `insertSelective(Author record)`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<Author>>>` `selectByExample()`
`default Author` `selectByPrimaryKey(java.lang.Long id_)`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<Author>>>` `selectDistinctByExample()`
`java.util.List<Author>` `selectMany(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`
`Author` `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(Author record)`
`default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>>` `updateByExampleSelective(Author record)`
`default int` `updateByPrimaryKey(Author record)`
`default int` `updateByPrimaryKeySelective(Author 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<Author> insertStatement)

#### selectOne

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
     @SelectProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
                    method="select")
     @ResultMap(value="AuthorResult")
    Author 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="AuthorResult",value={@Result(column="id",property="id",jdbcType=BIGINT,id=true),@Result(column="user_id",property="userId",jdbcType=BIGINT),@Result(column="invite_code",property="inviteCode",jdbcType=VARCHAR),@Result(column="pen_name",property="penName",jdbcType=VARCHAR),@Result(column="tel_phone",property="telPhone",jdbcType=VARCHAR),@Result(column="chat_account",property="chatAccount",jdbcType=VARCHAR),@Result(column="email",property="email",jdbcType=VARCHAR),@Result(column="work_direction",property="workDirection",jdbcType=TINYINT),@Result(column="status",property="status",jdbcType=TINYINT),@Result(column="create_time",property="createTime",jdbcType=TIMESTAMP)})
    java.util.List<Author> 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(Author record)

#### insertSelective

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default int insertSelective(Author 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<Author>>> 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<Author>>> selectDistinctByExample()

#### selectByPrimaryKey

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator")
    default Author 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(Author 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(Author record)

#### updateByPrimaryKey

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

#### updateByPrimaryKeySelective

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