From aae48957ba971ed0a1bfbfa182701cd22bbe8694 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 31 Aug 2022 18:12:16 +0800 Subject: [PATCH] 新增编辑页 查询接口 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java index 60dcf8e..fd20921 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java @@ -25,7 +25,13 @@ package vip.xiaonuo.modular.blogarticle.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Param; +import vip.xiaonuo.modular.blogStatistics.vo.BlogArchiveDetailVo; import vip.xiaonuo.modular.blogarticle.entity.BlogArticle; +import vip.xiaonuo.modular.blogarticle.entity.BlogArticleVo; + +import java.util.List; +import java.util.Map; /** * blog文章主体 @@ -34,4 +40,16 @@ * @date 2022-01-22 16:53:06 */ public interface BlogArticleMapper extends BaseMapper<BlogArticle> { + + List searchList(@Param("param") Map<String, Object> param); + + long searchListCount(@Param("param") Map<String, Object> param); + + List<BlogArchiveDetailVo> searchMonthCount(@Param("separateYear") Integer separateYear); + + List<BlogArticleVo> getAdjoiningRecord(@Param("param") Map<String, Object> param); + + List<BlogArticleVo> searchPlatformList(@Param("param") Map<String, Object> param); + + long searchPlatformListCount(@Param("param") Map<String, Object> param); } -- Gitblit v1.9.1