Commit fbeafa55 authored by hanbing's avatar hanbing

[update] 新信号评价-方案评价-修改负载均衡度取值方式

parent 0ccb6829
...@@ -706,7 +706,7 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService { ...@@ -706,7 +706,7 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
if (status == CrossStatusEnum.CONGESTION.getCode()) { if (status == CrossStatusEnum.CONGESTION.getCode()) {
average = subList.stream() average = subList.stream()
.mapToDouble(CrossDataHistPO::getCongestionIndex) .mapToDouble(CrossDataHistPO::getLoadBalance)
.average() .average()
.orElse(0.0); .orElse(0.0);
} else if (status == CrossStatusEnum.UNBALANCE.getCode()) { } else if (status == CrossStatusEnum.UNBALANCE.getCode()) {
......
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