添加面试邀约接口

This commit is contained in:
sh
2026-06-18 19:33:57 +08:00
parent b074ae45a5
commit 6ad695f52d
7 changed files with 398 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.cms.mapper.InterviewInviteMapper">
<resultMap type="interviewInvite" id="interviewInviteResult">
<id column="id" property="id"/>
<result column="job_apply_id" property="jobApplyId"/>
<result column="interview_time" property="interviewTime"/>
<result column="interview_type" property="interviewType"/>
<result column="contact_info" property="contactInfo"/>
<result column="invite_status" property="inviteStatus"/>
<result column="interview_round" property="interviewRound"/>
<result column="del_flag" property="delFlag"/>
<result column="create_by" property="createBy"/>
<result column="create_time" property="createTime"/>
<result column="update_by" property="updateBy"/>
<result column="update_time" property="updateTime"/>
<result column="remark" property="remark"/>
</resultMap>
<sql id="selectInterviewInviteVo">
select id, job_apply_id, interview_time, interview_type, contact_info,
invite_status, interview_round, del_flag, create_by, create_time,
update_by, update_time, remark
from interview_invite
</sql>
<select id="selectInterviewInviteList" resultMap="interviewInviteResult">
<include refid="selectInterviewInviteVo"/>
where del_flag = '0'
<if test="entity.jobApplyId != null">
and job_apply_id = #{entity.jobApplyId}
</if>
<if test="entity.interviewType != null">
and interview_type = #{entity.interviewType}
</if>
<if test="entity.inviteStatus != null">
and invite_status = #{entity.inviteStatus}
</if>
<if test="entity.interviewRound != null">
and interview_round = #{entity.interviewRound}
</if>
<if test="entity.contactInfo != null and entity.contactInfo != ''">
and contact_info like '%' || #{entity.contactInfo} || '%'
</if>
order by interview_time desc
</select>
</mapper>