面试信息返回线索参加的会销负责人信息
This commit is contained in:
@@ -406,17 +406,20 @@
|
||||
exhibition_id AS exhibitionId,
|
||||
interview_plan_id AS interviewPlanId,
|
||||
exhibition_name AS exhibitionName,
|
||||
start_date AS exhibitionDate
|
||||
start_date AS exhibitionDate,
|
||||
name AS exhibitionCreatorName,
|
||||
mobile AS exhibitionCreatorMobile
|
||||
FROM (
|
||||
SELECT exhibition_id, interview_plan_id
|
||||
FROM hy_partner_exhibition
|
||||
WHERE deleted = 0
|
||||
AND partner_line_id = #{partnerLineId}
|
||||
AND interview_plan_id = #{interviewPlanId}
|
||||
) t1 LEFT JOIN (
|
||||
SELECT id, exhibition_name, start_date
|
||||
) t1 INNER JOIN (
|
||||
SELECT hy_exhibition.id, exhibition_name, start_date, enterprise_user.name, enterprise_user.mobile
|
||||
FROM hy_exhibition
|
||||
WHERE deleted = 0
|
||||
INNER JOIN enterprise_user ON hy_exhibition.creator = enterprise_user.user_id
|
||||
WHERE hy_exhibition.deleted = 0
|
||||
) t2 ON t1.exhibition_id = t2.id
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user