commit | 4098b2d00ce50bb330311cf945c1cc2bdf3e060e | [log] [tgz] |
---|---|---|
author | dietricf <frank.dietrich@pta.eu> | Mon Nov 09 13:32:37 2020 +0100 |
committer | dietricf <frank.dietrich@pta.eu> | Mon Nov 09 13:32:37 2020 +0100 |
tree | b26daee3341f693ccbb6e0065bc834890ed76246 | |
parent | 072c5e02cff992878305fd45d9929c745f5762af [diff] |
bug: not showing polygon in map for telekom branch
diff --git a/gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationService.java b/gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationService.java index 66c8ad3..7621a45 100644 --- a/gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationService.java +++ b/gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationService.java
@@ -406,7 +406,7 @@ public FailureInformationDto enrichFailureInfo(FailureInformationDto failureInformationDto) { // wenn Mittelspannung dann füge Adress-Polygonpunkte für Kartenanzeige hinzu - if(failureInformationDto.getVoltageLevel() != null && failureInformationDto.getVoltageLevel().equals("MS")) { + if("TK".equalsIgnoreCase(failureInformationDto.getBranch()) || failureInformationDto.getVoltageLevel() != null && failureInformationDto.getVoltageLevel().equals("MS")) { addPolygonAddressPoints(failureInformationDto); }