From bf08bc0b8bb9e57c7b578d1faa85e39736092e4b Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Tue, 2 Jan 2024 16:50:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=A2=E9=98=9F=E4=BF=A1=E6=81=AF=E5=8F=96?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/xml/PlatformTeamAccountMapper.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/PlatformTeamAccountMapper.xml b/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/PlatformTeamAccountMapper.xml index 44a912a..afaa018 100644 --- a/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/PlatformTeamAccountMapper.xml +++ b/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/PlatformTeamAccountMapper.xml @@ -111,9 +111,21 @@ resultType="com.huoran.nakadai.entity.res.PlatformTeamAccountResp"> SELECT hpa.manage_id, - hpa.invitation_account, - u.user_name, - u.last_login_time, + hpa.invitation_account + , + ( + SELECT + u.user_name + FROM + hr_user_account ua + INNER JOIN hr_user_info u ON u.user_id = ua.user_id + AND u.is_del = 0 + WHERE + ua.is_del = 0 + AND ua.app_open_id = a.app_open_id + AND ua.platform_id = 7 + ) AS userName, + u.last_login_time, u.login_number, a.work_number, a.user_id,