UPDATE: VERSION-20260317
This commit is contained in:
@@ -42,4 +42,6 @@ public interface FireRuleMapper {
|
|||||||
List<PlatformComponent> getComponents(Integer platformId);
|
List<PlatformComponent> getComponents(Integer platformId);
|
||||||
|
|
||||||
List<Platform> findPlatformComponents(Integer scenarioId);
|
List<Platform> findPlatformComponents(Integer scenarioId);
|
||||||
|
|
||||||
|
List<Platform> findAllPlatformComponents();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,4 +45,6 @@ public interface FireRuleService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<Platform> findPlatformComponents(Integer scenarioId);
|
List<Platform> findPlatformComponents(Integer scenarioId);
|
||||||
|
|
||||||
|
List<Platform> findAllPlatformComponents();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -176,4 +176,9 @@ public class FireRuleServiceImpl implements FireRuleService {
|
|||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Platform> findAllPlatformComponents() {
|
||||||
|
return ruleMapper.findAllPlatformComponents();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,4 +106,9 @@
|
|||||||
ORDER BY p.name,pc.name
|
ORDER BY p.name,pc.name
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="findAllPlatformComponents" resultMap="VPlatformMap">
|
||||||
|
SELECT *
|
||||||
|
FROM platform
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user