|
@@ -141,7 +141,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
deviceEventRespone.setIfShow(v.get(0).getIfShow());
|
|
deviceEventRespone.setIfShow(v.get(0).getIfShow());
|
|
|
deviceEventRespone.setMonitorName(v.get(0).getMonitorName());
|
|
deviceEventRespone.setMonitorName(v.get(0).getMonitorName());
|
|
|
// todo 暂时这么写
|
|
// todo 暂时这么写
|
|
|
- deviceEventRespone.setVideoId(null);
|
|
|
|
|
|
|
+ deviceEventRespone.setVideoId("");
|
|
|
// 2、根据传感器分组
|
|
// 2、根据传感器分组
|
|
|
deviceEventRespone.setMonitorValue(monitorValue);
|
|
deviceEventRespone.setMonitorValue(monitorValue);
|
|
|
Map<String,List<DeviceEventVO>> sensorMap = v.stream().collect(Collectors.groupingBy(DeviceEventVO::getSensorId));
|
|
Map<String,List<DeviceEventVO>> sensorMap = v.stream().collect(Collectors.groupingBy(DeviceEventVO::getSensorId));
|