修改问题,收藏岗位列表,收藏字段默认返回收藏

This commit is contained in:
sh
2025-11-03 18:37:33 +08:00
parent dbb5fb5126
commit 91fe45e543

View File

@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectJobCollectionListJob" parameterType="JobCollection" resultType="com.ruoyi.cms.domain.Job"> <select id="selectJobCollectionListJob" parameterType="JobCollection" resultType="com.ruoyi.cms.domain.Job">
select b.*,a.create_time as shareTime from job_collection a inner join job b on a.job_id=b.job_id and b.del_flag='0' select b.*,a.create_time as shareTime,1 AS isCollection from job_collection a inner join job b on a.job_id=b.job_id and b.del_flag='0'
<where> a.del_flag = '0' <where> a.del_flag = '0'
<if test="jobId != null "> and a.job_id = #{jobId}</if> <if test="jobId != null "> and a.job_id = #{jobId}</if>
<if test="userId != null "> and a.user_id = #{userId}</if> <if test="userId != null "> and a.user_id = #{userId}</if>