2021与蓝度共同重构项目,服务端
zhanzhiqin
2022-05-16 32889c5139b77575fa2cd6d4d1f5aea578ece160
ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java
@@ -402,7 +402,7 @@
        boolean belong = SpringContextHolder.getBean(PoleBindingService.class).isBelong(one.getDeviceSerial(), PoleBindingEnums.MONITOR);
        if (!belong) {
            throw new RuntimeException("该设备不属于您,不能修改设备信息");
            throw new BusinessException("该设备不属于您,不能修改设备信息");
        }
        if (one != null) {
            one.setNote(notes);