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