|
@@ -287,6 +287,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="status !=null">
|
|
<if test="status !=null">
|
|
|
and r.status = #{status}
|
|
and r.status = #{status}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="statusIds != null and statusIds.size()!=0 ">
|
|
|
|
|
+ AND r.status in
|
|
|
|
|
+ <foreach collection="statusIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="interviewUserId" parameterType="map" resultMap="RecruitInterviewUserVoResult">
|
|
<select id="interviewUserId" parameterType="map" resultMap="RecruitInterviewUserVoResult">
|
|
@@ -337,13 +343,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN recruit_needs n ON r.needs_id = n.id
|
|
LEFT JOIN recruit_needs n ON r.needs_id = n.id
|
|
|
LEFT JOIN USER u ON u.user_id = r.user_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
|
|
LEFT JOIN v_tenant_company c ON c.company_id = n.company_id
|
|
|
- where 1=1
|
|
|
|
|
|
|
+ where 1=1 and r.status != 0
|
|
|
<if test="job !=null">
|
|
<if test="job !=null">
|
|
|
and n.job = #{job}
|
|
and n.job = #{job}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="status !=null">
|
|
|
|
|
- and r.status = #{status}
|
|
|
|
|
- </if>
|
|
|
|
|
<if test="workStart !=null and workEnd !=null and workEnd != '' and workStart!=''">
|
|
<if test="workStart !=null and workEnd !=null and workEnd != '' and workStart!=''">
|
|
|
and (SELECT DATE_FORMAT(NOW(), '%Y') as `year`)-r.start_year BETWEEN #{workStart} and #{workEnd}
|
|
and (SELECT DATE_FORMAT(NOW(), '%Y') as `year`)-r.start_year BETWEEN #{workStart} and #{workEnd}
|
|
|
</if>
|
|
</if>
|