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