From d4ad4cd6c127aa5944685c4aa098e0015139e1a4 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 23 Nov 2021 22:25:06 +0800
Subject: [PATCH] 1.保安公司查询修改 2.报名列表修改 3.考试列表查询修改 4.保安员导入修改

---
 src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.java |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.java b/src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.java
index 9d3476e..ab0d9a0 100644
--- a/src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.java
+++ b/src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.java
@@ -20,10 +20,12 @@
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import org.apache.ibatis.annotations.Param;
 import org.springblade.modules.apply.entity.Apply;
+import org.springblade.modules.exam.entity.ExamExaminationSubject;
 import org.springblade.modules.exam.entity.ExamPaper;
 import org.springblade.modules.exam.entity.ExamSubjectChoices;
 import org.springblade.modules.exam.vo.ExamPaperSubjectVO;
 import org.springblade.modules.exam.vo.ExamPaperVO;
+import org.springblade.modules.exam.vo.ExamSubjectChoicesVO;
 import org.springblade.modules.training.entity.TrainingRegistration;
 
 import java.util.List;
@@ -48,7 +50,7 @@
 
 	ExamPaperSubjectVO queryPagerSubject(@Param("paper") ExamPaper paper);
 
-	List<ExamPaperSubjectVO> queryRandomSubject(@Param("paper") ExamPaper paper);
+	List<ExamSubjectChoicesVO> queryRandomSubject(@Param("paper") ExamPaper paper);
 
 	ExamPaperSubjectVO PagerSubject(@Param("paper") ExamPaper paper);
 
@@ -70,7 +72,7 @@
     List<ExamPaperVO> getExamDetail(String userId);
 
 	/**
-	 * 查询前缀相同的准考证数量
+	 * 查询是当前前缀已生成准考证号码最大的一位
 	 * @param result 前缀
 	 * @return
 	 */
@@ -110,4 +112,24 @@
 	 * @return
 	 */
 	List<Apply> getApplyDetail(@Param("userId")String userId);
+
+	/**
+	 * 查询当前人员当前考试的考试题目信息
+	 * @param examPaperVO
+	 * @return
+	 */
+	List<ExamSubjectChoicesVO> getExaminationSubjectList(@Param("examPaper")ExamPaperVO examPaperVO);
+
+	/**
+	 * 批量新增
+	 * @param list
+	 */
+    void insertBatch(@Param("list")List<ExamExaminationSubject> list);
+
+	/**
+	 * 查询报名人数
+	 * @param examPaperVO1
+	 * @return
+	 */
+	Integer getExamNumber(@Param("examPaper") ExamPaperVO examPaperVO1);
 }

--
Gitblit v1.9.3