修改问题,收藏岗位列表,收藏字段默认返回收藏
This commit is contained in:
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<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'
|
||||
<if test="jobId != null "> and a.job_id = #{jobId}</if>
|
||||
<if test="userId != null "> and a.user_id = #{userId}</if>
|
||||
|
||||
Reference in New Issue
Block a user