1.暂降事件报告
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user