From 71384abceaf00725bb5d2998cca1e792b2a758eb Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 02 Jul 2021 13:58:07 +0800
Subject: [PATCH] screen-manage                     获取站点接口添加id

---
 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