This commit is contained in:
2026-03-17 09:18:05 +08:00
32 changed files with 811 additions and 83 deletions

View File

@@ -42,4 +42,6 @@ public interface FireRuleMapper {
List<PlatformComponent> getComponents(Integer platformId);
List<Platform> findPlatformComponents(Integer scenarioId);
List<Platform> findAllPlatformComponents();
}

View File

@@ -45,4 +45,6 @@ public interface FireRuleService {
* @return
*/
List<Platform> findPlatformComponents(Integer scenarioId);
List<Platform> findAllPlatformComponents();
}

View File

@@ -176,4 +176,9 @@ public class FireRuleServiceImpl implements FireRuleService {
return new ArrayList<>();
}
@Override
public List<Platform> findAllPlatformComponents() {
return ruleMapper.findAllPlatformComponents();
}
}

View File

@@ -118,4 +118,9 @@
ORDER BY p.name
</select>
<select id="findAllPlatformComponents" resultMap="VPlatformMap">
SELECT *
FROM platform
</select>
</mapper>