# 类 com.java2nb.novel.news.entity.NewsCategory的使用
Date: 2020-05-30

## 类的使用
com.java2nb.novel.news.entity.NewsCategory

使用NewsCategory的程序包
com.java2nb.novel.news.mapper

### com.java2nb.novel.news.mapper中NewsCategory的使用

返回NewsCategory的com.java2nb.novel.news.mapper中的方法
`default NewsCategory` NewsCategoryMapper.`selectByPrimaryKey(java.lang.Integer id_)`
`NewsCategory` NewsCategoryMapper.`selectOne(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`

返回变量类型为NewsCategory的类型的com.java2nb.novel.news.mapper中的方法
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<NewsCategory>>>` NewsCategoryMapper.`selectByExample()`
`default org.mybatis.dynamic.sql.select.QueryExpressionDSL<org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter<java.util.List<NewsCategory>>>` NewsCategoryMapper.`selectDistinctByExample()`
`java.util.List<NewsCategory>` NewsCategoryMapper.`selectMany(org.mybatis.dynamic.sql.select.render.SelectStatementProvider selectStatement)`

参数类型为NewsCategory的com.java2nb.novel.news.mapper中的方法
`default int` NewsCategoryMapper.`insert(NewsCategory record)`
`default int` NewsCategoryMapper.`insertSelective(NewsCategory record)`
`default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>>` NewsCategoryMapper.`updateByExample(NewsCategory record)`
`default org.mybatis.dynamic.sql.update.UpdateDSL<org.mybatis.dynamic.sql.update.MyBatis3UpdateModelAdapter<java.lang.Integer>>` NewsCategoryMapper.`updateByExampleSelective(NewsCategory record)`
`default int` NewsCategoryMapper.`updateByPrimaryKey(NewsCategory record)`
`default int` NewsCategoryMapper.`updateByPrimaryKeySelective(NewsCategory record)`

类型变量类型为NewsCategory的com.java2nb.novel.news.mapper中的方法参数
`int` NewsCategoryMapper.`insert(org.mybatis.dynamic.sql.insert.render.InsertStatementProvider<NewsCategory> insertStatement)`