From 1a6f33ee01883917f5698e0a529438cdf11a9436 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Mon, 15 Mar 2021 08:37:58 +0800 Subject: [PATCH] manage模块: 更改方法名 --- 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