guyue
2025-09-05 e4451cbe7eea81c397353e8d5649e52dcbd3b7d1
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
package com.linghu.service;
 
import com.linghu.model.common.ResponseResult;
import com.linghu.model.dto.KeywordDto;
import com.linghu.model.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;
 
import java.util.List;
 
/**
* @author xy
* @description 针对表【question】的数据库操作Service
* @createDate 2025-07-04 20:17:33
*/
public interface QuestionService extends IService<Question> {
 
    ResponseResult<List<Question>> addQuestion(KeywordDto keywordDto);
 
    ResponseResult<Void> updateKeyWord(Question questions);
 
    ResponseResult<Void> batchDeleteQuestion(List<Integer> questionIds);
 
    ResponseResult<List<Question>> notNullQuestionList(Integer keywordId);
 
    ResponseResult<List<Question>> getQuestionListByKeywordId(Integer keywordId);
 
    ResponseResult<String> importQuestionsExcel(MultipartFile file);
 
    ResponseResult<List<Question>> updateQuestion(KeywordDto keywordDto);
 
    ResponseEntity<byte[]> downloadQuestion();
}