guyue
2025-08-12 a271ed5a232236383bc96c8c1e380a5c91dc1c3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
 */
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();
}