From e343e508ce5f2d355ad82c05a319981c66d1324b Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 01:36:27 +0800 Subject: [PATCH] 评论页追加完成 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/mapper/BlogArticleMapper.java | 11 +++++++++++ 1 files changed, 11 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..7b7e1ac 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,12 @@ 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 java.util.List; +import java.util.Map; /** * blog文章主体 @@ -34,4 +39,10 @@ * @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); } -- Gitblit v1.9.1