kaiyu
2021-07-02 71384abceaf00725bb5d2998cca1e792b2a758eb
screen-manage
获取站点接口添加id
1 files modified
2 ■■■■■ changed files
screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java 2 ●●●●● patch | view | raw | blame | history
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;