jinpengyong
2021-09-15 f502917e38fa5817aee2452fa7b1f9331269f0c8
screen-manage/src/main/java/com/moral/api/service/impl/DeviceServiceImpl.java
@@ -391,6 +391,16 @@
        mpInfo.put("provinceCode", monitorPoint.getProvinceCode());
        deviceInfo.put("monitorPoint", mpInfo);
        //国控站点
        Map<String, Object> govMpInfo = new LinkedHashMap<>();
        govMpInfo.put("guid", null);
        govMpInfo.put("name", null);
        if (device.getGovMonitorPoint() != null) {
            govMpInfo.put("guid", device.getGovMonitorPoint().getGuid());
            govMpInfo.put("name", device.getGovMonitorPoint().getName());
        }
        deviceInfo.put("govMonitorPoint", govMpInfo);
        setDeviceInfoToRedis(mac, deviceInfo);
        return deviceInfo;
    }