|
|
|
@ -9,7 +9,7 @@ |
|
|
|
|
FROM |
|
|
|
|
( |
|
|
|
|
SELECT |
|
|
|
|
IFNULL( info.company_name, u.user_name ) proposer, |
|
|
|
|
IFNULL( info.real_name, u.user_name ) AS proposer, |
|
|
|
|
a.phone AS contactInformation, |
|
|
|
|
a.account, |
|
|
|
|
c.*, |
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
|
hr_enterprise_certification c |
|
|
|
|
INNER JOIN hr_user_account a ON a.id = c.account_id |
|
|
|
|
INNER JOIN hr_user_info u ON u.user_id = a.user_id |
|
|
|
|
LEFT JOIN hr_enterprise_certification info ON info.account_id = a.id |
|
|
|
|
LEFT JOIN hr_user_authentication_information info ON info.account_id = a.id |
|
|
|
|
LEFT JOIN k_platform_team_account ta ON ta.account_id = a.id |
|
|
|
|
LEFT JOIN k_platform_team t ON ta.manage_id = t.manage_id |
|
|
|
|
LEFT JOIN k_platform_team_classification cla ON cla.id = t.classification_id |
|
|
|
|