From bb99e8923e36dbbc2639fcc0a1a1191e2221277d Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 27 Jul 2021 15:26:28 +0800
Subject: [PATCH] 新增保安员查询接口(根据组织机构

---
 src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml b/src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml
index b957086..3902239 100644
--- a/src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml
+++ b/src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml
@@ -21,9 +21,15 @@
         <if test="examScore.securityName!=null and  examScore.securityName!=''">
             and security_name like concat('%', #{examScore.securityName},'%')
         </if>
-        <if test="examScore.examType!=null">
-            and exam_type = #{examScore.examType}
+        <if test="examScore.userId!=null and  examScore.userId!=''">
+            and user_id = #{examScore.userId}
         </if>
+        <if test="examScore.candidateNo!=null and  examScore.candidateNo!=''">
+            and candidate_no = #{examScore.candidateNo}
+        </if>
+<!--        <if test="examScore.examType!=null">-->
+<!--            and exam_type = #{examScore.examType}-->
+<!--        </if>-->
     </select>
 
     <!--考试成绩详情信息-->

--
Gitblit v1.9.3