修改推荐岗位完成一下几点:

1.根据工作经验推荐相关的岗位4.0分
2.根据投递记录推荐相关的岗位3.0分
3.根据收藏记录推荐相关岗位2.0分
This commit is contained in:
chenshaohua
2026-07-25 18:44:20 +08:00
parent c8fc1c8f9e
commit 5e9c776abd
7 changed files with 270 additions and 14 deletions

View File

@@ -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>