main
rong.liu 11 months ago
parent 7915da7ad4
commit 6df3075965
  1. 16
      users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml

@ -22,7 +22,21 @@
FROM FROM
( (
SELECT SELECT
IFNULL( info.real_name, u.user_name ) AS proposer, IFNULL(
info.real_name,
(
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 = c.open_id
AND ua.platform_id = 7
)
) AS proposer,
a.phone AS contactInformation, a.phone AS contactInformation,
a.account, a.account,
c.*, c.*,

Loading…
Cancel
Save