1.pms谐波模块保留俩位小数

2.冀北分布式光伏概览代码提交
This commit is contained in:
wr
2023-05-11 09:26:52 +08:00
parent 2e71088c8d
commit 0e4bdb62fd
28 changed files with 688 additions and 92 deletions

View File

@@ -299,6 +299,9 @@ public class TransientServiceImpl implements TransientService {
}
// 获取按终端分类的监测点索引集合
List<String> lineList = generalDeviceDTOList.stream().flatMap(dto -> dto.getLineIndexes().stream()).collect(Collectors.toList());
if(CollUtil.isEmpty(lineList)){
return new Page<>();
}
List<AreaLineInfoVO> lineInfoVOList = lineFeignClient.getBaseLineAreaInfo(lineList).getData();
List<AreaLineInfoVO> filteredLines = lineInfoVOList.stream().filter(item -> filterSearchValue(item, transientParam.getSearchValue())).collect(Collectors.toList());
List<String> lines = filteredLines.stream().map(AreaLineInfoVO::getLineId).collect(Collectors.toList());