highgo database

This commit is contained in:
577732344@qq.com
2025-09-24 10:49:59 +08:00
parent c85805c336
commit 312a04a42b
17 changed files with 33 additions and 33 deletions

View File

@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectJobCollectionList" parameterType="JobCollection" resultMap="JobCollectionResult">
<include refid="selectJobCollectionVo"/>
<where> del_flag = 0
<where> del_flag = '0'
<if test="jobId != null "> and job_id = #{jobId}</if>
<if test="userId != null "> and user_id = #{userId}</if>
</where>
@@ -30,11 +30,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="collectionJob" resultType="com.ruoyi.cms.domain.Job">
select *
from job
where del_flag = 0
where del_flag = '0'
and is_publish = 1
and job_id in (SELECT DISTINCT (job_id)
FROM qd.job_collection
where del_flag = 0 and user_id = #{userId}
where del_flag = '0' and user_id = #{userId}
order by create_time desc)
</select>
</mapper>