1.推荐岗位时,企业只查询自己发布的岗位
This commit is contained in:
@@ -101,4 +101,19 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectApplyJobUserList" parameterType="com.ruoyi.common.core.domain.entity.AppUser" 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'
|
||||
<if test="company != null and company.jobTitle != null and company.jobTitle != ''"> and b.job_title like concat('%', cast(#{company.jobTitle, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="company != null and company.education != null and company.education != ''"> and b.education = #{company.education}</if>
|
||||
<if test="company != null and company.experience != null and company.experience != ''"> and b.experience = #{company.experience}</if>
|
||||
<if test="company != null and company.companyName != null and company.companyName != ''"> and b.company_name like concat('%', cast(#{company.companyName, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="company != null and company.companyId != null "> and b.company_id = #{company.companyId}</if>
|
||||
<if test="company != null and company.code != null "> and l.code =#{company.code}</if>
|
||||
<if test="name != null and name != '' "> and b.job_title like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user