This commit is contained in:
mashuai 2026-01-27 17:26:04 +08:00
parent 2191de238c
commit b86eedf81a
1 changed files with 2 additions and 2 deletions

View File

@ -1462,7 +1462,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bm_project bmp bm_project bmp
LEFT JOIN sys_dept sd ON sd.dept_id = bmp.imp_unit LEFT JOIN sys_dept sd ON sd.dept_id = bmp.imp_unit
LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id
AND bai.`status` = '1' AND bai.`status` = '1' and bai.is_slt = '0'
LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id
AND bu.del_flag = '0' AND bu.del_flag = '0'
WHERE WHERE
@ -1488,7 +1488,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sys_dept sd sys_dept sd
LEFT JOIN bm_project bmp ON sd.dept_id = bmp.imp_unit LEFT JOIN bm_project bmp ON sd.dept_id = bmp.imp_unit
LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id
AND bai.`status` = '1' AND bai.`status` = '1' and bai.is_slt = '0'
LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id
WHERE WHERE
bmp.pro_id IS NOT NULL bmp.pro_id IS NOT NULL