From 7f56cfa5ec12682d53809e0f4d77a8f3277d36a0 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Mon, 15 Mar 2021 17:42:01 +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