From a9f394b28bb124732b7465d8e0880dfd3078b1ef Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 15 Jul 2021 10:51:51 +0800
Subject: [PATCH] 1.保安员证编码

---
 src/main/java/org/springblade/modules/system/mapper/UserMapper.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
index 4357963..dcfe229 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -37,6 +37,8 @@
         <result column="registered" property="registered"/>
         <result column="rtime" property="rtime"/>
         <result column="hold" property="hold"/>
+        <result column="jurisdiction" property="jurisdiction"/>
+        <result column="securitynumber" property="securitynumber"/>
     </resultMap>
 
     <select id="selectUserPage" resultMap="userResultMap">
@@ -75,6 +77,9 @@
         <if test="user.userType!=null and user.userType != ''">
             and bu.user_type = #{user.userType}
         </if>
+          <if test="user.securitynumber!=null and user.securitynumber != ''">
+            and bu.securitynumber = #{user.securitynumber}
+        </if>
         <if test="deptIdList!=null and deptIdList.size>0">
             and bu.id in (
                 SELECT

--
Gitblit v1.9.3