1.pc查询收藏、足迹、申请
2.查询我的时,返回这些对应的数字
This commit is contained in:
@@ -37,4 +37,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where del_flag = '0' and user_id = #{userId}
|
||||
order by create_time desc)
|
||||
</select>
|
||||
|
||||
<select id="selectJobCollectionListJob" parameterType="JobCollection" resultType="com.ruoyi.cms.domain.Job">
|
||||
select b.* 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>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user