工作台近日面试计划查询排除会销面试
This commit is contained in:
@@ -256,7 +256,8 @@
|
||||
</update>
|
||||
|
||||
<select id="getCurrentDateInterviewCount" resultType="com.cool.store.dto.partner.AdvanceLineDTO">
|
||||
select interview_date as date,count(1) as count from hy_partner_interview_plan
|
||||
select interview_date as date,count(1) as count from hy_partner_interview_plan t1
|
||||
left join hy_partner_exhibition t2 ON t1.id = t2.interview_plan_id
|
||||
<where>
|
||||
<if test="userId!=null and userId!=''">
|
||||
and interviewer = #{userId}
|
||||
@@ -264,7 +265,9 @@
|
||||
<if test="currentDate!=null and currentDate!=''">
|
||||
and interview_date BETWEEN #{currentDate} and #{endDate}
|
||||
</if>
|
||||
and deleted = 0 and application_approved = 1
|
||||
and t1.deleted = 0 and application_approved = 1
|
||||
-- 排除会销面试
|
||||
and t2.interview_plan_id is null
|
||||
</where>
|
||||
group by interview_date
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user