From 7c1335ff559c08bbcef479bd2b01a08a1f4e55f2 Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期五, 15 八月 2025 10:59:18 +0800 Subject: [PATCH] 增加json时区,修付开始采集状态,修改导出校验 --- src/main/java/com/linghu/service/KeywordService.java | 39 ++++++++++++++++++++++++++++++++++----- 1 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/linghu/service/KeywordService.java b/src/main/java/com/linghu/service/KeywordService.java index 145a70c..30a533e 100644 --- a/src/main/java/com/linghu/service/KeywordService.java +++ b/src/main/java/com/linghu/service/KeywordService.java @@ -1,25 +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-04 20:17:33 -*/ + * @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<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