|
@@ -300,7 +300,7 @@ public class InitialRunner implements CommandLineRunner {
|
|
|
}else{
|
|
|
List<ProEconPowerModel> list = proEconPowerModelService.selectByWtId(wtId);
|
|
|
Map<Double, Double> collect = list.stream().collect(Collectors.toMap(ProEconPowerModel::getSpeed, ProEconPowerModel::getPower));
|
|
|
- zsllglNewMap.replace(wtId, collect);
|
|
|
+ zsllglNewMap.put(wtId, collect);
|
|
|
}
|
|
|
log.info("自算功率数据缓存完成");
|
|
|
}
|