From 78b94b6a8eb94af251450a89b1f133e92423ec84 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 02 七月 2024 15:19:11 +0800
Subject: [PATCH] 题目导入导出

---
 src/main/java/com/mindskip/xzs/repository/QuestionMapper.java |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java b/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java
index dbb8924..854d04c 100644
--- a/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java
+++ b/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java
@@ -1,8 +1,13 @@
 package com.mindskip.xzs.repository;
 
-import com.mindskip.xzs.domain.other.KeyValue;
 import com.mindskip.xzs.domain.Question;
+import com.mindskip.xzs.domain.Subject;
+import com.mindskip.xzs.domain.other.KeyValue;
+import com.mindskip.xzs.domain.vo.QuestionVO;
 import com.mindskip.xzs.viewmodel.admin.question.QuestionPageRequestVM;
+import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentRequestVM;
+import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentResponseVM;
+import com.mindskip.xzs.vo.QuestionExportData;
 import com.mindskip.xzs.vo.QuestionExportVO;
 import com.mindskip.xzs.vo.QuestionImportVO;
 import org.apache.ibatis.annotations.Mapper;
@@ -17,6 +22,7 @@
     List<Question> page(QuestionPageRequestVM requestVM);
 
     List<Question> selectByIds(@Param("ids") List<Integer> ids);
+    List<QuestionVO> getVoByIds(@Param("ids") List<Integer> ids);
 
     Integer selectAllCount();
 
@@ -24,5 +30,22 @@
 
     List<Question> getAll();
 
+    /**
+     * 鏌ヨ瀵煎嚭鏁版嵁
+     *
+     * @param query
+     * @return
+     */
+    List<QuestionExportData> exportData(@Param("query") QuestionExportVO query);
+
     List<QuestionImportVO> export(@Param("query") QuestionExportVO query);
+
+    List<QuestionPageStudentResponseVM> selectQuestion(QuestionPageStudentRequestVM model);
+
+    QuestionVO selectContentById(Integer id);
+
+    QuestionVO getAnswer(Integer id);
+
+
+
 }

--
Gitblit v1.8.0