1.pc查询收藏、足迹、申请

2.查询我的时,返回这些对应的数字
This commit is contained in:
sh
2025-11-01 16:01:10 +08:00
parent fe48208f21
commit a641140ea5
19 changed files with 130 additions and 12 deletions

View File

@@ -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>