分包商

This commit is contained in:
zt
2025-03-28 10:38:49 +08:00
parent e35e17df3e
commit 14ed939008
16 changed files with 249 additions and 16 deletions

View File

@ -271,6 +271,41 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by bpra.create_time desc
</select>
<select id="fbsTaskUserList" resultType="com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO">
select bpra.id,
bpra.entry_time,
bpra.leave_time,
bpra.recruit_id,
wu.user_id,
wu.phone,
wu.score,
wu.avatar_name,
wu.username,
wu.identity_card,
bpra.status,
wu.type_of_work,
fpt.task_name,
bpra.task_id
from bgt_project_recruit_apply bpra
left join wgz_user wu on bpra.user_id = wu.user_id
left join fbs_project_task fpt on fpt.id = bpr.task_id
<where>
<if test="dto.username !=null and dto.username !='' ">
and wu.username like concat('%', #{dto.username}, '%')
</if>
<if test="dto.taskId != null">
and bpra.task_id = #{dto.taskId}
</if>
<if test="dto.status != null">
AND bpra.status = #{dto.status}
</if>
<if test="dto.status == null">
AND bpra.status in ('5','6')
</if>
</where>
order by bpra.create_time desc
</select>
<select id="userAllRecruitment" resultType="com.ruoyi.wgz.bo.rests.WgzAppUserAllRecruitmentTwo">
SELECT

View File

@ -37,13 +37,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bptp.task_name,
bptp.project_name
from bgt_project_task_progress bptp
where bptp.uploader_id = #{dto.uploaderId}
<if test="dto.auditStatus != null and dto.auditStatus != '' ">
and bptp.audit_status = #{dto.auditStatus}
</if>
<if test="dto.taskId != null">
and bptp.task_id = #{dto.taskId}
</if>
<where>
<if test="dto.uploaderId != null ">
and bptp.uploader_id = #{dto.uploaderId}
</if>
<if test="dto.reviewerId != null ">
and bptp.reviewer_id = #{dto.reviewerId}
</if>
<if test="dto.auditStatus != null and dto.auditStatus != '' ">
and bptp.audit_status = #{dto.auditStatus}
</if>
<if test="dto.taskId != null">
and bptp.task_id = #{dto.taskId}
</if>
</where>
</select>
</mapper>