From 2871cb99e018f6bf9e2ef76a424a1429a7c818f0 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期四, 13 七月 2023 11:40:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS/ubcs-service/ubcs-user/src/main/resources/mapper/UserMapper.xml |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-user/src/main/resources/mapper/UserMapper.xml b/Source/UBCS/ubcs-service/ubcs-user/src/main/resources/mapper/UserMapper.xml
index 4843a28..a698e34 100644
--- a/Source/UBCS/ubcs-service/ubcs-user/src/main/resources/mapper/UserMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-user/src/main/resources/mapper/UserMapper.xml
@@ -27,7 +27,7 @@
         <result column="post_id" property="postId"/>
         <result column="strategy_name" property="pwdStrategy"/>
         <result column="pwd_update_time" property="pwdUpdateTime"/>
-        <result column="secretgrade" property="secretgrade"/>
+        <result column="secretgrade" property="secretGrade"/>
         <result column="strategy_update_status" property="strategyUpdateStatus"/>
     </resultMap>
 
@@ -77,7 +77,11 @@
             LEFT JOIN PL_SYS_USER_PWDSTRATEGY plup on plup.USER_ID=pou.ID
             LEFT JOIN PL_SYS_PWDSTRATEGY pss on pss.ID=plup.PWDSTRATEGY_ID
         WHERE
-            tenant_id = #{param1} and account = #{param2} and is_deleted = 0
+            tenant_id = #{param1} and account = #{param2}
+            <if test="param3!=null and param3 != ''">
+                and name = #{param3}
+            </if>
+          and is_deleted = 0
     </select>
 
     <select id="exportUser" resultType="com.vci.ubcs.system.user.excel.UserExcel">
@@ -95,4 +99,9 @@
             where id = #{userId} and is_deleted = 0
     </select>
 
+    <select id="getByRoleUserList" resultType="com.vci.ubcs.system.user.entity.User">
+
+
+    </select>
+
 </mapper>

--
Gitblit v1.9.3