This commit is contained in:
2026-03-17 09:19:00 +08:00
parent 9f4ef1ab94
commit ce4c23eff8
33 changed files with 813 additions and 87 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>