添加面试ID
This commit is contained in:
@@ -294,25 +294,35 @@
|
|||||||
|
|
||||||
<select id="getPartnerInterviewInfoList" resultType="com.cool.store.dto.partner.PartnerInterviewInfoDTO">
|
<select id="getPartnerInterviewInfoList" resultType="com.cool.store.dto.partner.PartnerInterviewInfoDTO">
|
||||||
select
|
select
|
||||||
|
hpli.id as partnerLineId,
|
||||||
|
hpli.partner_id as partnerId,
|
||||||
|
hpli.deadline as deadline,
|
||||||
|
hpli.workflow_status as status,
|
||||||
a.id as id,
|
a.id as id,
|
||||||
a.deadline as deadline,
|
|
||||||
a.status as status,
|
|
||||||
a.auth_code as authCode,
|
a.auth_code as authCode,
|
||||||
a.approve_time as approveTime,
|
a.approve_time as approveTime,
|
||||||
a.process_info as processInfo,
|
a.process_info as processInfo,
|
||||||
b.id as interviewId,
|
b.id as interviewId,
|
||||||
b.partner_line_id as partnerLineId,
|
|
||||||
b.partner_id as partnerId,
|
|
||||||
b.start_time as startTime,
|
b.start_time as startTime,
|
||||||
b.end_time as endTime,
|
b.end_time as endTime,
|
||||||
b.interviewer as interviewer,
|
b.interviewer as interviewer,
|
||||||
b.create_time as createTime,
|
b.create_time as createTime,
|
||||||
b.room_id as roomId
|
b.room_id as roomId
|
||||||
from hy_partner_interview a left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
from hy_partner_line_info hpli
|
||||||
where a.status = #{workflowStatus}
|
left join hy_partner_interview a on hpli.id = a.partner_line_id
|
||||||
<if test="userId!=null and userId!=''">
|
left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||||
and a.interviewer = #{userId}
|
<where>
|
||||||
</if>
|
<if test="workflowStage!=null and workflowStage!=''">
|
||||||
|
and hpli.workflow_stage = #{workflowStage}
|
||||||
|
</if>
|
||||||
|
<if test="workflowStatus!=null and workflowStatus!=''">
|
||||||
|
and hpli.workflow_status = #{workflowStatus}
|
||||||
|
</if>
|
||||||
|
<if test="userId!=null and userId!=''">
|
||||||
|
and hpli.investment_manager = #{userId}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getInterviewList" resultType="com.cool.store.vo.interview.InterviewVO">
|
<select id="getInterviewList" resultType="com.cool.store.vo.interview.InterviewVO">
|
||||||
|
|||||||
Reference in New Issue
Block a user