接口 IArticleService

所有超级接口:
IBaseService<SysArticle>, com.baomidou.mybatisplus.extension.repository.IRepository<SysArticle>, com.baomidou.mybatisplus.extension.service.IService<SysArticle>
所有已知实现类:
ArticleServiceImpl

public interface IArticleService extends IBaseService<SysArticle>
文章服务
  • 字段概要

    从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • 方法概要

    修饰符和类型
    方法
    说明
    创建文章
    批量删除
    deleteArticle(Long articleId)
    删除文章
    findArticleById(Long articleId)
    查询详情信息
    com.baomidou.mybatisplus.core.metadata.IPage<SysArticle>
    queryArticleByPage(com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> page, ArticlePageDto articlePageDto)
    分页查询
    查询栏目下文章数量
    更新文章

    从接口继承的方法 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
  • 方法详细资料

    • addArticle

      Boolean addArticle(SysArticle article)
      创建文章
      参数:
      article -
      返回:
    • updateArticle

      Boolean updateArticle(SysArticle article)
      更新文章
      参数:
      article -
      返回:
    • deleteArticle

      Boolean deleteArticle(Long articleId)
      删除文章
      参数:
      articleId -
      返回:
    • batchDeleteArticle

      Boolean batchDeleteArticle(List<Long> ids)
      批量删除
      参数:
      ids -
      返回:
    • queryArticleByPage

      com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> queryArticleByPage(com.baomidou.mybatisplus.core.metadata.IPage<SysArticle> page, ArticlePageDto articlePageDto)
      分页查询
      参数:
      page -
      articlePageDto -
      返回:
    • findArticleById

      SysArticle findArticleById(Long articleId)
      查询详情信息
      参数:
      articleId -
      返回:
    • queryCategoryArticleCount

      Long queryCategoryArticleCount(Long categoryId)
      查询栏目下文章数量
      参数:
      categoryId -
      返回: