guyue
2025-08-15 7c1335ff559c08bbcef479bd2b01a08a1f4e55f2
src/main/java/com/linghu/service/KeywordService.java
@@ -1,11 +1,19 @@
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;
@@ -16,7 +24,7 @@
 */
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);
@@ -24,5 +32,23 @@
    List<Keyword> getKeywordsByOrderId(String orderId);
    Boolean saveKeywords(String keywords, String order_id);
    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();
}