修改推荐岗位完成一下几点:
1.根据工作经验推荐相关的岗位4.0分 2.根据投递记录推荐相关的岗位3.0分 3.根据收藏记录推荐相关岗位2.0分
This commit is contained in:
@@ -200,4 +200,10 @@
|
||||
<select id="selectByJobIdAndUserId" resultMap="JobApplyResult">
|
||||
select * from job_apply where del_flag='0' and job_id=#{jobId} and user_id=#{userId}
|
||||
</select>
|
||||
|
||||
<select id="queryApplyNames" resultType="java.lang.String">
|
||||
select distinct j.job_title from job_apply ja inner join job j on ja.job_id=j.job_id
|
||||
where ja.del_flag='0' and j.del_flag='0' and ja.user_id=#{userId}
|
||||
and ja.create_time >= now() - interval '6' month
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user