添加收藏列表
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user