去除未发生暂降的电站

This commit is contained in:
hzj
2025-08-11 10:05:24 +08:00
parent 1a0227620f
commit 10729c44fc

View File

@@ -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());