新增需求

This commit is contained in:
马三炮 2026-02-03 18:08:25 +08:00
parent ed2e999f7e
commit d72ac83eeb
1 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
(IFNULL(tmp.plan_skilled_worker_num, 0) + IFNULL(tmp.plan_auxiliary_worker_num, 0)) AS num2
FROM tb_monthly_plan tmp
LEFT JOIN tb_plan_management tpmng ON tmp.plan_management_id = tpmng.plan_management_id
INNER JOIN tb_plan_major tpmaj ON tmp.plan_major_id = tpmaj.plan_major_id
INNER JOIN tb_plan_major tpmaj ON tmp.plan_category_id = tpmaj.plan_major_id
LEFT JOIN tb_inspection_station tis ON tmp.inspection_station_id = tis.inspection_station_id AND tis.category = '0'
WHERE tmp.monthly_plan = #{month}
AND tmp.is_active = '1'
@ -291,7 +291,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
(IFNULL(tmp.plan_skilled_worker_num, 0) + IFNULL(tmp.plan_auxiliary_worker_num, 0)) AS num2
FROM tb_monthly_plan tmp
LEFT JOIN tb_plan_management tpmng ON tmp.plan_management_id = tpmng.plan_management_id
INNER JOIN tb_plan_major tpmaj ON tmp.plan_major_id = tpmaj.plan_major_id
INNER JOIN tb_plan_major tpmaj ON tmp.plan_category_id = tpmaj.plan_major_id
LEFT JOIN tb_inspection_station tis ON tmp.inspection_station_id = tis.inspection_station_id AND tis.category = '0'
WHERE tmp.monthly_plan = #{month}
AND tmp.is_active = '1'