update
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
</where>
|
||||
</select>
|
||||
<select id="applyJob" resultType="com.ruoyi.cms.domain.Job">
|
||||
select '2025-4-1' as applyTime,*
|
||||
from job
|
||||
where del_flag = 0
|
||||
and is_publish = 1
|
||||
and job_id in (SELECT DISTINCT (job_id)
|
||||
FROM qd.job_apply
|
||||
where del_flag = 0 and user_id = #{userId}
|
||||
order by create_time desc)
|
||||
SELECT ja.create_time AS applyTime, j.*
|
||||
FROM job j
|
||||
INNER JOIN job_apply ja ON j.job_id = ja.job_id
|
||||
WHERE j.del_flag = 0
|
||||
AND j.is_publish = 1
|
||||
AND ja.del_flag = 0
|
||||
AND ja.user_id = #{userId}
|
||||
ORDER BY ja.create_time DESC
|
||||
</select>
|
||||
<select id="candidates" resultType="com.ruoyi.cms.domain.vo.CandidateVO">
|
||||
SELECT au.*,jc.create_time as apply_date,jc.matching_degree
|
||||
|
Reference in New Issue
Block a user