去除未发生暂降的电站
This commit is contained in:
@@ -1029,6 +1029,7 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService {
|
|||||||
List<PqsEventdetail> tempEventList = eventdetails.stream().filter(temp -> tempLineIds.contains(temp.getLineid())).collect(Collectors.toList());
|
List<PqsEventdetail> tempEventList = eventdetails.stream().filter(temp -> tempLineIds.contains(temp.getLineid())).collect(Collectors.toList());
|
||||||
if(CollectionUtils.isEmpty(tempEventList)){
|
if(CollectionUtils.isEmpty(tempEventList)){
|
||||||
subStationCountVO.setEventCount(0);
|
subStationCountVO.setEventCount(0);
|
||||||
|
return;
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
subStationCountVO.setEventCount(tempEventList.size());
|
subStationCountVO.setEventCount(tempEventList.size());
|
||||||
|
|||||||
Reference in New Issue
Block a user