49 lines
2.4 KiB
XML
49 lines
2.4 KiB
XML
|
|
<?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.InterviewInvitationMapper">
|
||
|
|
|
||
|
|
<!-- 可根据自己的需求,是否要使用 -->
|
||
|
|
<resultMap type="InterviewInvitation" id="InterviewInvitationResult">
|
||
|
|
<result property="id" column="id"/>
|
||
|
|
<result property="companyId" column="company_id"/>
|
||
|
|
<result property="jobId" column="job_id"/>
|
||
|
|
<result property="userId" column="user_id"/>
|
||
|
|
<result property="applyId" column="apply_id"/>
|
||
|
|
<result property="interviewTime" column="interview_time"/>
|
||
|
|
<result property="interviewMethod" column="interview_method"/>
|
||
|
|
<result property="meetingLink" column="meeting_link"/>
|
||
|
|
<result property="meetingPassword" column="meeting_password"/>
|
||
|
|
<result property="interviewLocation" column="interview_location"/>
|
||
|
|
<result property="contactPhone" column="contact_phone"/>
|
||
|
|
<result property="status" column="status"/>
|
||
|
|
<result property="delFlag" column="del_flag"/>
|
||
|
|
<result property="createBy" column="create_by"/>
|
||
|
|
<result property="createTime" column="create_time"/>
|
||
|
|
<result property="updateBy" column="update_by"/>
|
||
|
|
<result property="updateTime" column="update_time"/>
|
||
|
|
<result property="remark" column="remark"/>
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
|
||
|
|
<sql id="selectInterviewInvitationVo">
|
||
|
|
select id, company_id, job_id, user_id, apply_id, interview_time,
|
||
|
|
interview_method, meeting_link, meeting_password, interview_location,
|
||
|
|
contact_phone, status, del_flag, create_by, create_time, update_by, update_time, remark
|
||
|
|
from interview_invitation
|
||
|
|
</sql>
|
||
|
|
|
||
|
|
<select id="getInterviewInvitationList" resultMap="InterviewInvitationResult" parameterType="InterviewInvitation">
|
||
|
|
<include refid="selectInterviewInvitationVo"/>
|
||
|
|
<where> del_flag = '0'
|
||
|
|
<if test="companyId != null and companyId != ''"> and company_id = #{companyId}</if>
|
||
|
|
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
|
||
|
|
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
|
||
|
|
<if test="applyId != null and applyId != ''"> and apply_id = #{applyId}</if>
|
||
|
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
||
|
|
</where>
|
||
|
|
order by create_time desc
|
||
|
|
</select>
|
||
|
|
|
||
|
|
</mapper>
|