|
@@ -38,6 +38,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="resumeStatus" column="resume_status"/>
|
|
<result property="resumeStatus" column="resume_status"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
+ <resultMap type="com.zhongzheng.modules.recruit.vo.RecruitInterviewExcel" id="RecruitInterviewExcelResult">
|
|
|
|
|
+ <result property="realName" column="realname"/>
|
|
|
|
|
+ <result property="job" column="job"/>
|
|
|
|
|
+ <result property="date" column="date"/>
|
|
|
|
|
+ <result property="status" column="status"/>
|
|
|
|
|
+ <result property="phone" column="telphone"/>
|
|
|
|
|
+ <result property="timing" column="timing"/>
|
|
|
|
|
+ </resultMap>
|
|
|
|
|
+
|
|
|
<select id="selectByDay" parameterType="map" resultMap="RecruitInterviewVoResult">
|
|
<select id="selectByDay" parameterType="map" resultMap="RecruitInterviewVoResult">
|
|
|
select r.*,u.realname,n.job from recruit_interview r
|
|
select r.*,u.realname,n.job from recruit_interview r
|
|
|
LEFT JOIN `user` u on r.user_id = u.user_id
|
|
LEFT JOIN `user` u on r.user_id = u.user_id
|
|
@@ -59,4 +68,48 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and timing_End=#{timingEnd}
|
|
and timing_End=#{timingEnd}
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="selectQueryExcel" parameterType="com.zhongzheng.modules.recruit.bo.RecruitInterviewQueryBo" resultMap="RecruitInterviewExcelResult">
|
|
|
|
|
+ SELECT
|
|
|
|
|
+ CONCAT( r.`month`, '月', r.`day`, '日' ) AS date,
|
|
|
|
|
+ n.job,
|
|
|
|
|
+ u.realname,
|
|
|
|
|
+ u.telphone,
|
|
|
|
|
+ CONCAT( r.timing_start, ':00-', r.timing_end, ':00' ) AS timing,
|
|
|
|
|
+ (
|
|
|
|
|
+ CASE
|
|
|
|
|
+ r.`status`
|
|
|
|
|
+ WHEN 0 THEN
|
|
|
|
|
+ '已投递'
|
|
|
|
|
+ WHEN 1 THEN
|
|
|
|
|
+ '已发邀请'
|
|
|
|
|
+ WHEN 2 THEN
|
|
|
|
|
+ '已确认'
|
|
|
|
|
+ WHEN 3 THEN
|
|
|
|
|
+ '已谢绝'
|
|
|
|
|
+ WHEN 4 THEN
|
|
|
|
|
+ '初试通过'
|
|
|
|
|
+ WHEN 5 THEN
|
|
|
|
|
+ '初试不通过'
|
|
|
|
|
+ WHEN 6 THEN
|
|
|
|
|
+ '复试通过'
|
|
|
|
|
+ WHEN 8 THEN
|
|
|
|
|
+ '已发offer'
|
|
|
|
|
+ WHEN 9 THEN
|
|
|
|
|
+ '爽约'
|
|
|
|
|
+ WHEN 10 THEN
|
|
|
|
|
+ '淘汰'
|
|
|
|
|
+ WHEN 11 THEN
|
|
|
|
|
+ '放弃'
|
|
|
|
|
+ WHEN 12 THEN
|
|
|
|
|
+ '转正'
|
|
|
|
|
+ END
|
|
|
|
|
+ ) AS `status`
|
|
|
|
|
+ FROM
|
|
|
|
|
+ recruit_interview r
|
|
|
|
|
+ LEFT JOIN `user` u ON u.user_id = r.user_id
|
|
|
|
|
+ LEFT JOIN recruit_needs n ON n.id = r.needs_id
|
|
|
|
|
+ WHERE
|
|
|
|
|
+ 1 =1
|
|
|
|
|
+ </select>
|
|
|
</mapper>
|
|
</mapper>
|