面谈/面试
This commit is contained in:
@@ -23,7 +23,11 @@ public class LineInfoDAO {
|
||||
|
||||
|
||||
public LineInfoDO getLineInfo(Long lineId) {
|
||||
return lineInfoMapper.selectByPrimaryKey(lineId);
|
||||
LineInfoDO lineInfo = lineInfoMapper.selectByPrimaryKey(lineId);
|
||||
if(Objects.nonNull(lineInfo) && !lineInfo.getDeleted()){
|
||||
return lineInfo;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer updateLineInfo(LineInfoDO param){
|
||||
|
||||
@@ -51,4 +51,13 @@ public class LineInterviewDAO {
|
||||
return lineInterviewMapper.getInterviewerPage(request);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取面试信息
|
||||
* @param interviewId
|
||||
* @return
|
||||
*/
|
||||
public LineInterviewDO getInterviewInfoById(Long interviewId){
|
||||
return lineInterviewMapper.selectByPrimaryKey(interviewId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<result column="interview_date" jdbcType="DATE" property="interviewDate" />
|
||||
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
||||
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
|
||||
<result column="is_partner_interview" jdbcType="TINYINT" property="isPartnerInterview" />
|
||||
<result column="join_interview_status" jdbcType="TINYINT" property="joinInterviewStatus" />
|
||||
<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" />
|
||||
@@ -32,6 +32,7 @@
|
||||
|
||||
<select id="getInterviewerPage" resultType="com.cool.store.dto.interview.LineInterviewPageDTO">
|
||||
select
|
||||
a.id as interviewId,
|
||||
a.line_id as lineId,
|
||||
a.start_time as startTime,
|
||||
a.end_time as endTime,
|
||||
|
||||
Reference in New Issue
Block a user