This commit is contained in:
2026-04-14 16:45:10 +08:00
9 changed files with 333 additions and 8 deletions

View File

@@ -119,13 +119,10 @@
p.name,
p.description
FROM platform p
WHERE p.scenario_id = #{scenarioId}
AND EXISTS (
SELECT 1 FROM platform_component pc
WHERE pc.platform_id = p.id
AND pc.type = 'comm'
)
ORDER BY p.name
LEFT JOIN platform_component pc ON p.id = pc.platform_id
WHERE pc.type = 'comm'
AND p.scenario_id = #{scenarioId}
ORDER BY p.name,pc.name
</select>
<select id="findAllPlatformComponents" resultMap="VPlatformMap">