1.暂降事件报告

This commit is contained in:
2026-02-27 09:35:38 +08:00
parent e1d17c63a2
commit ee1ca85a5d
7 changed files with 1087 additions and 7 deletions

View File

@@ -2021,7 +2021,7 @@ public class ReportServiceImpl implements ReportService {
@Override
public Page<WaveTypeVO> getEventReport(WaveTypeParam deviceInfoParam) {
Page<WaveTypeVO> page = new Page<>(deviceInfoParam.getPageNum(), deviceInfoParam.getPageSize());
List<GeneralDeviceDTO> generalDeviceDTOList = generalDeviceInfoClient.getPracticalAllDeviceInfo(deviceInfoParam).getData();
List<GeneralDeviceDTO> generalDeviceDTOList = generalDeviceInfoClient.getPracticalRunDeviceInfo(deviceInfoParam).getData();
List<String> lineIds = generalDeviceDTOList.stream().flatMap(dto -> dto.getLineIndexes().stream()).collect(Collectors.toList());
if (CollUtil.isEmpty(lineIds)) {
return page;