任务
This commit is contained in:
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<select id="appQueryList" resultType="com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO">
|
||||
select wu.user_id, wu.phone, wu.score, wu.avatar_name, wu.username
|
||||
select bpra.id, wu.user_id, wu.phone, wu.score, wu.avatar_name, wu.username
|
||||
from bgt_project_recruit_apply bpra
|
||||
left join wgz_user wu on bpra.user_id = wu.user_id
|
||||
where bpra.recruit_id = #{dto.recruitId}
|
||||
|
@ -41,9 +41,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
(select count(task_id) from fbs_project_task_apply where task_id = fpt.id) as applyNum
|
||||
from fbs_project_task fpt
|
||||
left join zbf_project zp on fpt.project_id = zp.id
|
||||
where fpt.user_id is null
|
||||
<if test="dto.taskName != null and dto.taskName != '' ">
|
||||
and fpt.task_name like concat('%', #{dto.taskName}, '%')
|
||||
<where>
|
||||
<if test="dto.taskIds != null and dto.taskIds.size() > 0">
|
||||
and fpt.id IN
|
||||
<foreach item="item" index="index" collection="dto.taskIds"
|
||||
open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="dto.taskName != null and dto.taskName != '' ">
|
||||
and fpt.task_name like concat('%', #{dto.taskName}, '%')
|
||||
@ -54,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="dto.status != null and dto.status != '' ">
|
||||
and fpt.status = #{dto.status}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user