|
|
@@ -58,6 +58,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="district" column="district"/>
|
|
|
<result property="city" column="city"/>
|
|
|
<result property="userEMall" column="userEMall"/>
|
|
|
+ <result property="companyDistrict" column="company_district"/>
|
|
|
+ <result property="companyAddress" column="company_address"/>
|
|
|
+ <result property="companyDistrict" column="company_district"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.recruit.vo.RecruitInterviewExcel" id="RecruitInterviewExcelResult">
|
|
|
@@ -206,11 +209,38 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
u.email as userEMall,
|
|
|
u.city,
|
|
|
u.district,
|
|
|
- r.*
|
|
|
+ r.year,
|
|
|
+ r.month,
|
|
|
+ r.day,
|
|
|
+ r.timing_start,
|
|
|
+ r.timing_end,
|
|
|
+ r.needs_id,
|
|
|
+ r.resume_json,
|
|
|
+ r.create_time,
|
|
|
+ r.update_time,
|
|
|
+ r.status,
|
|
|
+ r.tenant_id,
|
|
|
+ r.user_id,
|
|
|
+ r.attach_url,
|
|
|
+ r.refuse,
|
|
|
+ r.resume_time,
|
|
|
+ r.emall,
|
|
|
+ r.start_year,
|
|
|
+ r.user_birth,
|
|
|
+ r.edu_level,
|
|
|
+ r.completeness,
|
|
|
+ c.company_name,
|
|
|
+ n.link_man,
|
|
|
+ n.link_tel,
|
|
|
+ n.city as company_city,
|
|
|
+ n.district as company_district,
|
|
|
+ n.province as company_province,
|
|
|
+ n.address as company_address
|
|
|
FROM
|
|
|
recruit_interview r
|
|
|
LEFT JOIN recruit_needs n ON r.needs_id = n.id
|
|
|
LEFT JOIN USER u ON u.user_id = r.user_id
|
|
|
+ LEFT JOIN v_tenant_company c ON c.company_id = n.company_id
|
|
|
where 1=1
|
|
|
<if test="job !=null">
|
|
|
and n.job = #{job}
|
|
|
@@ -251,6 +281,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="politic !=null and politic !=''">
|
|
|
and u.politic = #{politic}
|
|
|
</if>
|
|
|
+ <if test="userId !=null and userId !=''">
|
|
|
+ and r.user_id = #{userId}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="interviewUserId" parameterType="map" resultMap="RecruitInterviewUserVoResult">
|