Commit 69d72c1e authored by zhangsen's avatar zhangsen

脑图APIbug修改

parent e469a2a8
...@@ -352,8 +352,9 @@ public class KafkaAnalyseController { ...@@ -352,8 +352,9 @@ public class KafkaAnalyseController {
String stationType = "风电站"; String stationType = "风电站";
List<IdxBizFanHealthLevel> collect = healthLevelInfoList.stream().filter(item -> item.getAnalysisObjType().contains(station)).collect(Collectors.toList()); List<IdxBizFanHealthLevel> collect = healthLevelInfoList.stream().filter(item -> item.getAnalysisObjType().contains(station)).collect(Collectors.toList());
for (IdxBizFanHealthLevel item : collect) { for (IdxBizFanHealthLevel item : collect) {
if (!item.getAnalysisObjType().contains("子系统")) { if (item.getAnalysisObjType().contains("子阵")) {
stationType = "光伏站"; stationType = "光伏站";
break;
} }
} }
for (IdxBizFanHealthLevel item : collect) { for (IdxBizFanHealthLevel item : collect) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment