工作台预约面试待审核的增加对应时段预约情况信息
This commit is contained in:
@@ -570,10 +570,10 @@
|
||||
</select>
|
||||
|
||||
<select id="getInterviewBookSituation" resultType="com.cool.store.entity.HyPartnerInterviewBookSituation">
|
||||
SELECT t_booking_times.*, IFNULL(application_approved, 0) AS booked
|
||||
SELECT t_booking_times.*, IFNULL(application_approved, 0) AS booked, partner_id AS booked_partner_id
|
||||
FROM (
|
||||
-- 查询已被预约成功的时间段
|
||||
SELECT t1.start_time, t1.end_time, t1.application_approved, t1.deleted
|
||||
SELECT t1.start_time, t1.end_time, t1.application_approved, t1.partner_id, t1.deleted
|
||||
FROM hy_partner_interview_plan t1
|
||||
LEFT JOIN hy_partner_interview t2 ON t1.id = t2.interview_plan_id
|
||||
WHERE t1.interviewer = #{interviewerId}
|
||||
|
||||
Reference in New Issue
Block a user