添加岗位申请导出-完成
This commit is contained in:
@@ -59,12 +59,46 @@
|
||||
select user_id, name, age, sex, birth_date, education, political_affiliation, phone, avatar, salary_min, salary_max, area, status, del_flag, login_ip, login_date, create_by, create_time, update_by, update_time, remark,job_title_id,is_recommend,id_card,hire from app_user
|
||||
</sql>
|
||||
|
||||
<select id="selectAppUserList" parameterType="java.lang.Long" resultType="com.ruoyi.common.core.domain.entity.AppUser">
|
||||
select b.job_title,l.name company_name,e.* from job_apply a
|
||||
<select id="selectAppUserList" parameterType="com.ruoyi.cms.domain.Job" resultType="com.ruoyi.cms.domain.vo.CandidateVO">
|
||||
select b.job_title jobName,l.name companyName,e.* from job_apply a
|
||||
INNER join job b on a.job_id=b.job_id and b.del_flag='0'
|
||||
INNER join app_user e on a.user_id =e.user_id and e.del_flag='0'
|
||||
INNER join company l on b.company_id =l.company_id and l.del_flag='0'
|
||||
where a.del_flag='0' and a.hire='0'
|
||||
<if test="jobTitle != null and jobTitle != ''"> and b.job_title like concat('%', cast(#{jobTitle, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="education != null and education != ''"> and b.education = #{education}</if>
|
||||
<if test="experience != null and experience != ''"> and b.experience = #{experience}</if>
|
||||
<if test="companyName != null and companyName != ''"> and b.company_name like concat('%', cast(#{companyName, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="jobLocation != null and jobLocation != ''"> and b.job_location = #{jobLocation}</if>
|
||||
<if test="postingDate != null and postingDate!=''"> and b.posting_date = #{postingDate}</if>
|
||||
<if test="vacancies != null "> and b.vacancies = #{vacancies}</if>
|
||||
<if test="latitude != null "> and b.latitude = #{latitude}</if>
|
||||
<if test="longitude != null "> and b.longitude = #{longitude}</if>
|
||||
<if test="view != null "> and b."view" = #{view}</if>
|
||||
<if test="companyId != null "> and b.company_id = #{companyId}</if>
|
||||
<if test="isHot != null "> and b.is_hot = #{isHot}</if>
|
||||
<if test="applyNum != null "> and b.apply_num = #{applyNum}</if>
|
||||
<if test="code != null "> and b.company_id in(select company_id from company where code=#{code})</if>
|
||||
<if test="compensation!=null ">
|
||||
<if test="compensation==0 ">
|
||||
and b.min_salary < 1750
|
||||
</if>
|
||||
<if test="compensation==1 ">
|
||||
and b.max_salary < 2000 and b.min_salary >= 1750
|
||||
</if>
|
||||
<if test="compensation==2 ">
|
||||
and b.max_salary < 3000 and b.min_salary >= 2000
|
||||
</if>
|
||||
<if test="compensation==3 ">
|
||||
and b.max_salary < 4000 and b.min_salary >= 3000
|
||||
</if>
|
||||
<if test="compensation==4 ">
|
||||
and b.max_salary < 5000 and b.min_salary >= 4000
|
||||
</if>
|
||||
<if test="compensation==5 ">
|
||||
and b.min_salary > 5000
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user