UPDATE: VERSION-20260317

This commit is contained in:
libertyspy
2026-03-17 00:36:40 +08:00
parent 6dd4392f0c
commit 4455d38a61
4 changed files with 14 additions and 0 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

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