2021与蓝度共同重构项目,服务端
zhanzhiqin
2022-05-16 7e335f8fde9e197e11ee5ae33f7a93bc10b0560e
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);