|
|
|
@ -119,7 +119,8 @@ public class PerceptionDeviceController extends BaseController {
|
|
|
|
|
List<DevopsDeviceInfo> deviceInfos = devopsDeviceInfoService.lambdaQuery()
|
|
|
|
|
.eq(DevopsDeviceInfo::getParentMonitoringType, 1)
|
|
|
|
|
.eq(DevopsDeviceInfo::getDeviceType,1).list();
|
|
|
|
|
List<String> collect = deviceInfos.stream().map(devopsDeviceInfo -> devopsDeviceInfo.getGbsChannelNo()).collect(Collectors.toList());
|
|
|
|
|
List<String> collect = deviceInfos.stream().map(devopsDeviceInfo ->
|
|
|
|
|
devopsDeviceInfo.getGbsChannelNo()).collect(Collectors.toList());
|
|
|
|
|
// 获取当前日期
|
|
|
|
|
LocalDate currentDate = LocalDate.now();
|
|
|
|
|
// 创建一个 TreeMap 用于存储每天的数据量
|
|
|
|
@ -156,7 +157,8 @@ public class PerceptionDeviceController extends BaseController {
|
|
|
|
|
List<DevopsDeviceInfo> deviceInfos = devopsDeviceInfoService.lambdaQuery()
|
|
|
|
|
.eq(DevopsDeviceInfo::getParentMonitoringType, 1)
|
|
|
|
|
.eq(DevopsDeviceInfo::getDeviceType,2).list();
|
|
|
|
|
List<String> collect = deviceInfos.stream().map(devopsDeviceInfo -> devopsDeviceInfo.getGbsChannelNo()).collect(Collectors.toList());
|
|
|
|
|
List<String> collect = deviceInfos.stream().map(devopsDeviceInfo ->
|
|
|
|
|
devopsDeviceInfo.getGbsChannelNo()).collect(Collectors.toList());
|
|
|
|
|
// 获取当前日期
|
|
|
|
|
LocalDate currentDate = LocalDate.now();
|
|
|
|
|
// 创建一个 TreeMap 用于存储每天的数据量
|
|
|
|
|