From a3af0cf745d7a1632e2b803ca23387c226b13e29 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Mon, 15 Mar 2021 08:42:20 +0800
Subject: [PATCH] common模块:     更改TokenUtils BUG

---
 screen-api/src/main/resources/mapper/UserMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/UserMapper.xml b/screen-api/src/main/resources/mapper/UserMapper.xml
index 58ed1f3..bcbc3fb 100644
--- a/screen-api/src/main/resources/mapper/UserMapper.xml
+++ b/screen-api/src/main/resources/mapper/UserMapper.xml
@@ -19,4 +19,13 @@
         <result column="is_delete" property="isDelete"/>
     </resultMap>
 
+    <select id="selectUsers" resultType="java.util.Map">
+        SELECT id,account,user_name userName,email,mobile,wechat FROM `user` WHERE
+        <if test="orgId!=null">
+            organization_id = #{orgId}
+        </if>
+        <if test="userId!=null">
+            id = #{userId}
+        </if>
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0