团队信息取个人名称

main
rong.liu 11 months ago
parent a454ec4f00
commit bf08bc0b8b
  1. 18
      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,

Loading…
Cancel
Save