海南大屏bug修改,暂态事件列表功能新增两个字段
This commit is contained in:
@@ -295,7 +295,7 @@ public class TransientServiceImpl implements TransientService {
|
|||||||
// 获取按终端分类的监测点索引集合
|
// 获取按终端分类的监测点索引集合
|
||||||
List<String> lineList = generalDeviceDTOList.stream().flatMap(dto -> dto.getLineIndexes().stream()).collect(Collectors.toList());
|
List<String> lineList = generalDeviceDTOList.stream().flatMap(dto -> dto.getLineIndexes().stream()).collect(Collectors.toList());
|
||||||
List<TerminalTree> data = deviceTreeClient.getTerminalTree().getData();
|
List<TerminalTree> data = deviceTreeClient.getTerminalTree().getData();
|
||||||
if(CollectionUtils.isEmpty(transientParam.getSubstationIds())){
|
if(!CollectionUtils.isEmpty(transientParam.getSubstationIds())){
|
||||||
List<TerminalTree> collect = data.stream().map(TerminalTree::getChildren).flatMap(Collection::stream)
|
List<TerminalTree> collect = data.stream().map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
@@ -308,7 +308,7 @@ public class TransientServiceImpl implements TransientService {
|
|||||||
lineList.retainAll(collect);
|
lineList.retainAll(collect);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(CollectionUtils.isEmpty(transientParam.getLineIds())){
|
if(!CollectionUtils.isEmpty(transientParam.getLineIds())){
|
||||||
List<TerminalTree> collect1 = data.stream().map(TerminalTree::getChildren).flatMap(Collection::stream)
|
List<TerminalTree> collect1 = data.stream().map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
.map(TerminalTree::getChildren).flatMap(Collection::stream)
|
||||||
|
|||||||
Reference in New Issue
Block a user