From ad1bbad8508ea02ced12b44a03e777cb296cd408 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Fri, 07 Jul 2023 13:12:15 +0800
Subject: [PATCH] refactor: qa 暂定kafka 推送

---
 screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java b/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java
index 9f0d036..fd1d4bc 100644
--- a/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java
+++ b/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java
@@ -31,6 +31,7 @@
                 DeviceVO deviceVO = deviceConvert(device);
                 deviceVOS.add(deviceVO);
             }
+            monitorPointVO.setId(monitorPoint.getId());
             monitorPointVO.setName(monitorPoint.getName());
             monitorPointVO.setLatitude(monitorPoint.getLatitude());
             monitorPointVO.setLongitude(monitorPoint.getLongitude());
@@ -45,6 +46,7 @@
         DeviceVO vo = new DeviceVO();
         vo.setName(device.getName());
         vo.setMac(device.getMac());
+        vo.setState(device.getState());
         vo.setLatitude(device.getLatitude());
         vo.setLongitude(device.getLongitude());
         return vo;

--
Gitblit v1.8.0