This commit is contained in:
zt
2025-02-20 13:48:17 +08:00
parent d98028cf78
commit 3d232faad8
35 changed files with 1041 additions and 46 deletions

View File

@ -30,17 +30,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="appQueryPageList" resultType="com.ruoyi.fbs.domain.vo.AppTaskVO">
select fpt.id,
fpt.task_name,
task_staff_num,
task_amount,
zp.project_name,
task_describe,
task_address,
fpt.create_time,
(select count(task_id) from fbs_project_task_apply where task_id = fpt.id) as applyNum
select fpt.id,
fpt.task_name,
fpt.task_staff_num,
fpt.task_amount,
zp.project_name,
fpt.task_describe,
fpt.task_address,
fpt.create_time,
(select count(task_id) from fbs_project_task_apply where task_id = fpt.id) as applyNum,
(select sum(applicant_amount) from bgt_wage_application where audit_status = '2'and task_id = fpt.id) as taskReceiveAmount
from fbs_project_task fpt
left join zbf_project zp on fpt.project_id = zp.id
left join zbf_project zp on fpt.project_id = zp.id
<where>
<if test="dto.taskIds != null and dto.taskIds.size() > 0">
and fpt.id IN