优化
This commit is contained in:
@ -72,7 +72,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
wu.username
|
||||
from bgt_project_recruit_apply bpra
|
||||
left join wgz_user wu on bpra.user_id = wu.user_id
|
||||
where bpra.recruit_id = #{recruitId} and bpra.status = '3'
|
||||
where bpra.recruit_id = #{recruitId} and bpra.status in('3','5')
|
||||
<if test="isNotUpload">
|
||||
and wu.user_id not in (select ca.user_id from common_annex ca
|
||||
where bpra.recruit_id = ca.recruit_id
|
||||
and bpra.id = ca.recruit_apply_id
|
||||
and ca.user_type = 'wgz' )
|
||||
</if>
|
||||
order by bpra.create_time desc,bpra.status asc
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user