From 466ee3bc7c7bccf1e74ba46289900e24e6784d7b Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Wed, 17 Mar 2021 11:49:41 +0800
Subject: [PATCH] common模块: 添加常量枚举
---
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