|
|
@@ -818,7 +818,8 @@ and
|
|
|
a.date_of_complete AS completeDate
|
|
|
FROM
|
|
|
sys_org_physical_defense_construction a
|
|
|
- LEFT JOIN sys_org_extend b ON a.org_id = b.org_id LEFT JOIN sys_org c ON c.id=b.org_id
|
|
|
+ INNER JOIN sys_org c ON c.id=a.org_id
|
|
|
+ LEFT JOIN sys_org_extend b ON a.org_id = b.org_id
|
|
|
WHERE c.type=4 and c.path like concat(#{orgPath}, '%')
|
|
|
GROUP BY
|
|
|
a.org_id
|