highgo database
This commit is contained in:
@@ -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>
|
Reference in New Issue
Block a user