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/service/BlogArticleService.java |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java
index 1f7dab3..0058ab1 100644
--- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java
+++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java
@@ -25,14 +25,17 @@
 package vip.xiaonuo.modular.blogarticle.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
+import org.springframework.scheduling.annotation.Async;
 import vip.xiaonuo.core.pojo.page.PageResult;
 import vip.xiaonuo.modular.blogStatistics.vo.BlogArchiveDetailVo;
 import vip.xiaonuo.modular.blogarticle.entity.BlogArticle;
-import vip.xiaonuo.modular.blogarticle.param.BlogArticleParam;
 import vip.xiaonuo.modular.blogarticle.entity.BlogArticleVo;
+import vip.xiaonuo.modular.blogarticle.param.BlogArticleParam;
+import vip.xiaonuo.modular.blogarticle.param.BlogArticleQueryDto;
 
 import java.util.List;
 import java.util.Map;
+import java.util.concurrent.Future;
 
 /**
  * blog文章主体service接口
@@ -88,7 +91,7 @@
      * @author inleft
      * @date 2022-01-22 16:53:06
      */
-     BlogArticle detail(BlogArticleParam blogArticleParam);
+    BlogArticle detail(BlogArticleParam blogArticleParam);
 
     /**
      * 导出blog文章主体
@@ -96,12 +99,21 @@
      * @author inleft
      * @date 2022-01-22 16:53:06
      */
-     void export(BlogArticleParam blogArticleParam);
+    void export(BlogArticleParam blogArticleParam);
 
-    List<BlogArticleVo> searchList(Map<String,Object> param);
+    List<BlogArticleVo> searchList(Map<String, Object> param);
 
     long searchListCount(Map<String, Object> param);
 
     List<BlogArchiveDetailVo> searchMonthCount(Integer separateYear);
 
+    /**
+     * 获取相邻上下记录的日志id
+     */
+    @Async
+    Future<List<BlogArticleVo>> getAdjoiningRecord(BlogArticleQueryDto queryDto);
+
+    List<BlogArticleVo> searchPlatformList(Map<String, Object> param);
+
+    long searchPlatformListCount(Map<String, Object> param);
 }

--
Gitblit v1.9.1