1.冀北电网一张图,变电站,终端,暂态列表接口重新调整
2.技术监督统计,电容器和评估报告统计调整
This commit is contained in:
@@ -142,8 +142,13 @@ public class RUploadPointStatisticalDataDServiceImpl extends MppServiceImpl<RUpl
|
||||
List<DeptGetChildrenMoreDTO> deptAll = calculatedParam.getIdList();
|
||||
|
||||
Map<String,PmsRunStatistic> pmsRunStatisticMap = pmsRunStatisticsList.stream().collect(Collectors.toMap(PmsRunStatistic::getDeptId,Function.identity()));
|
||||
List<String> monitorIds = CollectionUtil.toList(pmsRunStatisticMap.get(dept.getCode()).getRunMonitorIds().split(StrUtil.COMMA));
|
||||
List<LineDTO> lineDTOList = commLineClient.getLineDetailBatch(monitorIds).getData();
|
||||
List<LineDTO> lineDTOList;
|
||||
if(pmsRunStatisticMap.containsKey(dept.getCode())){
|
||||
List<String> monitorIds = CollectionUtil.toList(pmsRunStatisticMap.get(dept.getCode()).getRunMonitorIds().split(StrUtil.COMMA));
|
||||
lineDTOList = commLineClient.getLineDetailBatch(monitorIds).getData();
|
||||
} else {
|
||||
lineDTOList = new ArrayList<>();
|
||||
}
|
||||
|
||||
deptAll.forEach(item -> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user