添加面试安排列表查询界面
This commit is contained in:
@@ -436,4 +436,56 @@
|
||||
delete from row_work
|
||||
</delete>
|
||||
|
||||
<select id="selectMsyyJobList" parameterType="Job" resultMap="JobResult">
|
||||
select a.job_id, job_title, min_salary, max_salary, education, experience, company_name, job_location, posting_date, vacancies, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time, a.remark, latitude, longitude, "view", company_id , is_hot ,apply_num,is_publish, description,job_location_area_code,data_source,job_url,job_category,is_explain,explain_url,cover,job_type,job_address,region_code,staff_type,pass,pass_reason,job_status,down_time from job a
|
||||
<where> del_flag = '0' and exists ( select 1 from job_apply b where a.job_id=b.job_id and b.del_flag='0' )
|
||||
<if test="jobTitle != null and jobTitle != ''"> and job_title = #{jobTitle}</if>
|
||||
<if test="minSalary != null "> and min_salary = #{minSalary}</if>
|
||||
<if test="maxSalary != null "> and max_salary = #{maxSalary}</if>
|
||||
<if test="education != null and education != ''">
|
||||
and education in
|
||||
<foreach collection="education.split(',')" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="experience != null and experience != ''"> and experience = #{experience}</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', cast(#{companyName, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="jobLocation != null and jobLocation != ''"> and job_location = #{jobLocation}</if>
|
||||
<if test="postingDate != null and postingDate!=''"> and posting_date = #{postingDate}</if>
|
||||
<if test="vacancies != null "> and vacancies = #{vacancies}</if>
|
||||
<if test="latitude != null "> and latitude = #{latitude}</if>
|
||||
<if test="longitude != null "> and longitude = #{longitude}</if>
|
||||
<if test="view != null "> and "view" = #{view}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="isHot != null "> and is_hot = #{isHot}</if>
|
||||
<if test="applyNum != null "> and apply_num = #{applyNum}</if>
|
||||
<if test="code != null "> and company_id in(select company_id from company where code=#{code})</if>
|
||||
<if test="jobLocationAreaCode!=null">and job_location_area_code =#{jobLocationAreaCode}</if>
|
||||
<if test="isPublish != null "> and is_publish = #{isPublish}</if>
|
||||
<if test="downTime!=null and downTime!='' ">and down_time >=#{downTime}</if>
|
||||
<if test="dataSource!=null and dataSource!='' "> and data_source =#{dataSource}</if>
|
||||
<if test="compensation!=null ">
|
||||
<if test="compensation==0 ">
|
||||
and min_salary < 1750
|
||||
</if>
|
||||
<if test="compensation==1 ">
|
||||
and max_salary < 2000 and min_salary >= 1750
|
||||
</if>
|
||||
<if test="compensation==2 ">
|
||||
and max_salary < 3000 and min_salary >= 2000
|
||||
</if>
|
||||
<if test="compensation==3 ">
|
||||
and max_salary < 4000 and min_salary >= 3000
|
||||
</if>
|
||||
<if test="compensation==4 ">
|
||||
and max_salary < 5000 and min_salary >= 4000
|
||||
</if>
|
||||
<if test="compensation==5 ">
|
||||
and min_salary > 5000
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
order by is_publish asc,a.create_time desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user