feat: Implement job title suggestion service with caching and tokenization

This commit is contained in:
2026-07-16 10:02:56 +08:00
parent 8dea752d48
commit 1e7853b9a4
8 changed files with 343 additions and 1 deletions

View File

@@ -305,6 +305,15 @@
LEFT JOIN (SELECT jc1.*, ROW_NUMBER() OVER(PARTITION BY jc1.job_id ORDER BY jc1.id) rn FROM job_contact jc1 WHERE jc1.del_flag='0') jc ON jc.job_id = j.job_id AND jc.rn=1
WHERE j.del_flag = '0' and job_status='0' limit #{offset},#{batchSize}
</select>
<select id="selectValidJobTitles" resultType="java.lang.String">
SELECT DISTINCT trim(job_title)
FROM job
WHERE del_flag = '0'
AND job_status = '0'
AND job_title IS NOT NULL
AND trim(job_title) &lt;&gt; ''
</select>
<select id="selectAllInsertRowWork" resultType="com.ruoyi.cms.domain.RowWork">
select Id, TaskId, TaskName, Std_class, SF, ZCMC, Aca112, Acb22a, Aac011, Acb240,
Recruit_Num, Acb202, Aab302, Acb241, Salary, SalaryLow, SalaryHight, Aae397,
@@ -441,4 +450,4 @@
update job set job_status='0', update_time = NOW() where del_flag='0' and company_id=#{companyId} and job_status='1'
</update>
</mapper>
</mapper>