From dd028e18a12ad9ae7c43ed09b15ddd6bde1a43e9 Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期三, 03 九月 2025 11:27:50 +0800 Subject: [PATCH] 采集中状态修改提前,统计数据合并 --- src/main/java/com/linghu/service/KeywordService.java | 49 +++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 45 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/linghu/service/KeywordService.java b/src/main/java/com/linghu/service/KeywordService.java index 649d208..30a533e 100644 --- a/src/main/java/com/linghu/service/KeywordService.java +++ b/src/main/java/com/linghu/service/KeywordService.java @@ -1,13 +1,54 @@ package com.linghu.service; +import com.linghu.model.common.ResponseResult; +import com.linghu.model.dto.ExportFeedDTO; +import com.linghu.model.dto.ExportGetResultByPlatformIdDTO; +import com.linghu.model.dto.ExportGetResultDTO; +import com.linghu.model.dto.ExportStaticsDTO; import com.linghu.model.entity.Keyword; import com.baomidou.mybatisplus.extension.service.IService; +import com.linghu.model.excel.FeedExportExcel; +import com.linghu.model.vo.GetTimeVO; +import com.linghu.model.vo.KeywordStaticsListVO; +import com.linghu.model.vo.PlatformProportionVO; +import com.linghu.model.vo.ResultListVO; +import org.springframework.http.ResponseEntity; +import org.springframework.web.multipart.MultipartFile; + +import java.util.List; /** -* @author xy -* @description 针对表【keyword】的数据库操作Service -* @createDate 2025-07-02 16:32:19 -*/ + * @author xy + * @description 针对表【keyword】的数据库操作Service + * @createDate 2025-07-04 20:17:33 + */ public interface KeywordService extends IService<Keyword> { + ResponseResult<KeywordStaticsListVO>statics(Integer keywordId, Integer questionId); + + ResponseResult<List<PlatformProportionVO>> getResultByTypeId(Integer keywordId, Integer questionId, Integer typeId); + + ResponseResult<List<ResultListVO>> getResultByPlatformId(Integer keywordId, Integer questionId, Integer platformId); + + List<Keyword> getKeywordsByOrderId(String orderId); + + ResponseResult<GetTimeVO> getTimeVOResponseResult(Integer keywordId, Integer questionId); + + ResponseEntity<byte[]> exportEChart(ExportStaticsDTO exportStaticsDTO); + + ResponseResult<List<PlatformProportionVO>> getByTypeId(Integer keywordId, Integer questionId, Integer typeId, Integer isNow); + + ResponseEntity<byte[]> exportResult(ExportGetResultDTO dto); + + ResponseResult<List<ResultListVO>> getResultByPlatform(Integer keywordId, Integer questionId, Integer platformId, Integer isNow); + + ResponseEntity<byte[]> exportResultByPlatform(ExportGetResultByPlatformIdDTO dto); + + ResponseEntity<byte[]> exportResultByPlatform2(ExportGetResultByPlatformIdDTO dto); + + ResponseResult<List<FeedExportExcel>> importFeedByKeyWord(Integer keywordId, MultipartFile file); + + ResponseEntity<byte[]> exportFeedResult(ExportFeedDTO dto); + + ResponseEntity<byte[]> downloadKeywrodFeed(); } -- Gitblit v1.7.1