去除未发生暂降的电站
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());
|
||||
if(CollectionUtils.isEmpty(tempEventList)){
|
||||
subStationCountVO.setEventCount(0);
|
||||
return;
|
||||
|
||||
}else {
|
||||
subStationCountVO.setEventCount(tempEventList.size());
|
||||
|
||||
Reference in New Issue
Block a user