类 ArticleServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
com.hengyi.xbaseweb.system.service.base.BaseServiceImpl<ArticleMapper,SysArticle>
com.hengyi.xbaseweb.article.service.impl.ArticleServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.repository.IRepository<SysArticle>,com.baomidou.mybatisplus.extension.service.IService<SysArticle>,IArticleService,IBaseService<SysArticle>
@Service
public class ArticleServiceImpl
extends BaseServiceImpl<ArticleMapper,SysArticle>
implements IArticleService
-
字段概要
从类继承的字段 com.hengyi.xbaseweb.system.service.base.BaseServiceImpl
request, userSessionService从类继承的字段 com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapper从类继承的字段 com.baomidou.mybatisplus.extension.repository.AbstractRepository
log从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addArticle(SysArticle article) 创建文章batchDeleteArticle(List<Long> ids) 批量删除deleteArticle(Long articleId) 删除文章findArticleById(Long articleId) 查询详情信息com.baomidou.mybatisplus.core.metadata.IPage<SysArticle>queryArticleByPage(com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> page, ArticlePageDto articleDto) 分页查询queryCategoryArticleCount(Long categoryId) 查询栏目下文章数量updateArticle(SysArticle article) 更新文章从类继承的方法 com.hengyi.xbaseweb.system.service.base.BaseServiceImpl
error, error, getCurrentDeptId, getCurrentUser, getCurrentUserId, getCurrentUsername, getMessage, getMessage, getToken, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, success, success, toResult, toResult, updateBatchById, updateById从类继承的方法 com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement从类继承的方法 com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.hengyi.xbaseweb.system.service.base.IBaseService
save, saveBatch, saveOrUpdate, saveOrUpdateBatch, updateBatchById, updateById从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, update, update, update从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
构造器详细资料
-
ArticleServiceImpl
public ArticleServiceImpl()
-
-
方法详细资料
-
addArticle
从接口复制的说明:IArticleService创建文章- 指定者:
addArticle在接口中IArticleService- 返回:
-
updateArticle
从接口复制的说明:IArticleService更新文章- 指定者:
updateArticle在接口中IArticleService- 返回:
-
deleteArticle
从接口复制的说明:IArticleService删除文章- 指定者:
deleteArticle在接口中IArticleService- 返回:
-
batchDeleteArticle
从接口复制的说明:IArticleService批量删除- 指定者:
batchDeleteArticle在接口中IArticleService- 返回:
-
queryArticleByPage
public com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> queryArticleByPage(com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> page, ArticlePageDto articleDto) 从接口复制的说明:IArticleService分页查询- 指定者:
queryArticleByPage在接口中IArticleService- 返回:
-
findArticleById
从接口复制的说明:IArticleService查询详情信息- 指定者:
findArticleById在接口中IArticleService- 返回:
-
queryCategoryArticleCount
从接口复制的说明:IArticleService查询栏目下文章数量- 指定者:
queryCategoryArticleCount在接口中IArticleService- 返回:
-