From 50a170ab1b38e97063e7a32da51e07b939638e8d Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 07 Jul 2022 20:12:25 +0800 Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/farmer-cms --- src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java index 277dfb8..a5ca4ce 100644 --- a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java +++ b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java @@ -6,11 +6,25 @@ import com.xcong.farmer.cms.modules.system.entity.ArticleEntity; import com.xcong.farmer.cms.modules.system.vo.AdminArticleVo; import com.xcong.farmer.cms.modules.system.vo.AdminSeeArticleInfoVo; +import com.xcong.farmer.cms.modules.system.vo.WebArticleVo; +import io.swagger.models.auth.In; import org.apache.ibatis.annotations.Param; + +import java.util.List; public interface ArticleMapper extends BaseMapper<ArticleEntity> { IPage<AdminArticleVo> selectAdminArticleInPage(Page<AdminArticleVo> page, @Param("record")ArticleEntity articleEntity); AdminSeeArticleInfoVo selectAdminArticleByid(@Param("id")Long id); + + ArticleEntity selectPrevOrNextArticle(@Param("id") Long id, @Param("columnId") Long columnId, @Param("type") Integer type); + + ArticleEntity selectArticleById(@Param("id") Long id); + + IPage<ArticleEntity> selectArticleInPage(Page<ArticleEntity> page, @Param("record") ArticleEntity article); + + IPage<WebArticleVo> selectWebArticleInPage(Page<WebArticleVo> page, @Param("record") ArticleEntity articleEntity); + + List<Long> selectArticleIdsByColumnId(@Param("columnId") Long columnId, @Param("companyId") Long companyId, @Param("type") Integer type); } -- Gitblit v1.9.1