inleft
2024-05-18 2ddbd99aa5b2e396f96c6daba60fe1ac2573d9fb
snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java
@@ -25,13 +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.entity.BlogArticleVo;
import vip.xiaonuo.modular.blogarticle.param.BlogArticleParam;
import vip.xiaonuo.modular.blogarticle.param.BlogArticleVo;
import vip.xiaonuo.modular.blogarticle.param.BlogArticleQueryDto;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;
/**
 * blog文章主体service接口
@@ -87,7 +91,7 @@
     * @author inleft
     * @date 2022-01-22 16:53:06
     */
     BlogArticle detail(BlogArticleParam blogArticleParam);
    BlogArticle detail(BlogArticleParam blogArticleParam);
    /**
     * 导出blog文章主体
@@ -95,9 +99,21 @@
     * @author inleft
     * @date 2022-01-22 16:53:06
     */
     void export(BlogArticleParam blogArticleParam);
    void export(BlogArticleParam blogArticleParam);
    List<BlogArticleVo> searchMediaList(Map<String,Object> param);
    List<BlogArticleVo> searchList(Map<String, Object> param);
    long searchMediaListCount(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);
}