面试相关修改

This commit is contained in:
俞扬
2023-06-19 01:52:08 +08:00
parent af47bb4c24
commit 4283a6d65d
17 changed files with 274 additions and 37 deletions

View File

@@ -87,7 +87,7 @@ public interface HyPartnerInterviewPlanMapper {
* @param interviewId
* @return
*/
InterviewVO getInterviewInfo(String interviewId);
InterviewVO getInterviewInfo(String interviewPlanId);
/**
* 查询用户基本信息

View File

@@ -12,6 +12,8 @@
<result column="actual_start_time" jdbcType="TIMESTAMP" property="actualStartTime" />
<result column="actual_end_time" jdbcType="TIMESTAMP" property="actualEndTime" />
<result column="room_id" jdbcType="VARCHAR" property="roomId" />
<result column="feishu_calendar_id" jdbcType="VARCHAR" property="feishuCalendarId" />
<result column="feishu_schedule_id" jdbcType="VARCHAR" property="feishuScheduleId" />
<result column="room_password" jdbcType="VARCHAR" property="roomPassword" />
<result column="interviewer" jdbcType="VARCHAR" property="interviewer" />
<result column="room_status" jdbcType="TINYINT" property="roomStatus" />
@@ -22,7 +24,7 @@
<sql id="Base_Column_List">
id, partner_line_id, partner_id, interview_date, start_time, end_time, is_partner_interview,
actual_start_time, actual_end_time, room_id, room_password, interviewer, room_status,
deleted, create_time, update_time
deleted, create_time, update_time,feishu_calendar_id,feishu_schedule_id
</sql>
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
insert into hy_partner_interview_plan
@@ -169,6 +171,12 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime},
</if>
<if test="record.feishuCalendarId != null">
feishu_calendar_id = #{record.feishuCalendarId},
</if>
<if test="record.feishuScheduleId != null">
feishu_schedule_id = #{record.feishuScheduleId},
</if>
</set>
where id = #{record.id}
</update>
@@ -280,7 +288,8 @@
</select>
<select id="getInterviewInfo" resultType="com.cool.store.vo.interview.InterviewVO">
select hpip.id as interviewId,
select hpip.id as interviewPlanId,
hpi.id as interviewId,
hpi.qualify_verify_id as qualifyVerifyId,
hpi.pass_time as passTime,
hpi.pass_reason as passReason,
@@ -302,12 +311,14 @@
hpip.end_time as endTime,
hpip.partner_id as partnerId,
hpip.interviewer as interviewerId,
hpip.feishu_calendar_id as feishuCalendarId,
hpip.feishu_schedule_id as feishuScheduleId,
hpi.status as status
from hy_partner_interview_plan hpip
left join hy_partner_line_info hpll on hpip.partner_line_id = hpll.id
left join hy_partner_user_info hpui on hpui.partner_id = hpip.partner_id
left join hy_partner_interview hpi on hpip.id = hpi.interview_plan_id
where hpip.id = #{interviewId}
where hpip.id = #{interviewPlanId}
</select>
<select id="selectBySelective" resultType="com.cool.store.entity.HyPartnerInterviewPlanDO">
select