| | |
| | | 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 |
| | |
| | | */ |
| | | 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(); |
| | | } |