From d3d7222cb64de2cb5390fc57fa1049d800e44786 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 30 Aug 2023 17:22:58 +0800
Subject: [PATCH] 用户新增时判断角色是否为保安员,如果是需要判断是否已存在身份证号相同的保安员,如果存在则提示
---
src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml b/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
index 8a9d2e1..2fd7466 100644
--- a/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
@@ -51,6 +51,7 @@
1=1
and bu.status = 1
and bu.is_deleted = 0
+ and es.is_deleted = 0
<if test="scoreAuditRecords.jurisdiction!=null and scoreAuditRecords.jurisdiction!='' and scoreAuditRecords.jurisdiction!='1372091709474910209'">
and (sj.id=#{scoreAuditRecords.jurisdiction} or sj.parent_id=#{scoreAuditRecords.jurisdiction})
</if>
--
Gitblit v1.9.3