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

@@ -116,4 +116,12 @@
<if test="name != null and name != '' "> and b.job_title like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
</select>
<select id="selectJobApplyListJob" parameterType="JobApply" resultType="com.ruoyi.cms.domain.Job">
select b.* from job_apply 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>