From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Mon, 11 Nov 2024 16:55:28 +0800
Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口
---
exam-system/src/main/java/com/gkhy/exam/system/service/ExQuestionService.java | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/exam-system/src/main/java/com/gkhy/exam/system/service/ExQuestionService.java b/exam-system/src/main/java/com/gkhy/exam/system/service/ExQuestionService.java
index ef36566..257631c 100644
--- a/exam-system/src/main/java/com/gkhy/exam/system/service/ExQuestionService.java
+++ b/exam-system/src/main/java/com/gkhy/exam/system/service/ExQuestionService.java
@@ -2,8 +2,11 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.common.api.CommonPage;
+import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.system.domain.ExQuestion;
+import org.springframework.web.multipart.MultipartFile;
+import java.io.IOException;
import java.util.List;
import java.util.Map;
@@ -60,10 +63,9 @@
/**
* 获取题目ID列表
* @param bankId
- * @param exerciseType
* @return
*/
- List<Map> getExerciseQuestionList(Long bankId, Integer exerciseType);
+ List<Map> getExerciseQuestionList(Long bankId);
/**
* 刷题模式下根据id获取题目
@@ -108,4 +110,13 @@
* @return
*/
List<Long> getExerciseErrorQuestionList(Long bankId);
+
+ /**
+ * 根据考卷获取题目列表
+ * @param paperId
+ * @return
+ */
+ List<ExQuestion> selectQuestionByPaperId(Long paperId);
+
+ CommonResult uploadQuestion(MultipartFile file) throws IOException;
}
--
Gitblit v1.9.2