国网上送提交代码
This commit is contained in:
@@ -70,5 +70,10 @@ public class LineDevGetDTO {
|
|||||||
*/
|
*/
|
||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否上送国网是否是上送国网监测点,0-否 1-是
|
||||||
|
*/
|
||||||
|
private Integer isUpToGrid;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ public class CommTerminalServiceImpl implements CommTerminalService {
|
|||||||
lineDevGetDTO.setLineTag(it.getMonitorTag());
|
lineDevGetDTO.setLineTag(it.getMonitorTag());
|
||||||
//预处理模块需要的id修改value为id
|
//预处理模块需要的id修改value为id
|
||||||
lineDevGetDTO.setVoltageLevel(it.getVoltageLevel());
|
lineDevGetDTO.setVoltageLevel(it.getVoltageLevel());
|
||||||
|
lineDevGetDTO.setIsUpToGrid(it.getIsUpToGrid());
|
||||||
lineList.add(lineDevGetDTO);
|
lineList.add(lineDevGetDTO);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public class PqTypicalSourceCreatePOServiceImpl extends ServiceImpl<PqTypicalSou
|
|||||||
List<DictData> indicatorTypeDate = dicDataFeignClient.getDicDataByTypeCode(
|
List<DictData> indicatorTypeDate = dicDataFeignClient.getDicDataByTypeCode(
|
||||||
DicDataTypeEnum.STEADY_STATIS.getCode()).getData();
|
DicDataTypeEnum.STEADY_STATIS.getCode()).getData();
|
||||||
for (DeptGetChildrenMoreDTO deptGetChildrenMoreDTO : calculatedParam.getIdList()) {
|
for (DeptGetChildrenMoreDTO deptGetChildrenMoreDTO : calculatedParam.getIdList()) {
|
||||||
List<String> collect1 = deptGetChildrenMoreDTO.getLineBaseList().stream().map(LineDevGetDTO::getPointId).collect(Collectors.toList());
|
List<String> collect1 = deptGetChildrenMoreDTO.getLineBaseList().stream().filter(temp->Objects.equals(temp.getIsUpToGrid(),1)).map(LineDevGetDTO::getPointId).collect(Collectors.toList());
|
||||||
|
|
||||||
|
|
||||||
//站内有效监测点数量
|
//站内有效监测点数量
|
||||||
|
|||||||
Reference in New Issue
Block a user