添加收藏列表

This commit is contained in:
zk
2026-03-20 20:09:57 +08:00
parent 1b982a27e3
commit c75ad337a5
5 changed files with 50 additions and 2 deletions
@@ -26,6 +26,13 @@
INNER JOIN bg_job_category cat ON j.category_id = cat.id
WHERE j.status = 0
AND c.status = 1
<!-- 指定岗位ID列表(用于收藏列表) -->
<if test="jobIds != null and jobIds.size() > 0">
AND j.id IN
<foreach collection="jobIds" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</if>
<!-- 排除不感兴趣的岗位 -->
<if test="excludeJobIds != null and excludeJobIds.size() > 0">
AND j.id NOT IN