From ccebbfd35eca5cd24eb3e32f7c1158e0596c471c Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 27 Jul 2021 15:34:53 +0800
Subject: [PATCH] 1.统计接口调整
---
src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 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 dce17ed..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,6 +21,12 @@
<if test="examScore.securityName!=null and examScore.securityName!=''">
and security_name like concat('%', #{examScore.securityName},'%')
</if>
+ <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>-->
--
Gitblit v1.9.3