ximon-admin/src/main/java/com/sandu/ximon/admin/service/InterphoneHostService.java
@@ -62,10 +62,12 @@ return false; } if(SecurityUtils.getClientId()!=null){ boolean belong = SpringContextHolder.getBean(PoleBindingService.class).isBelong(byId.getHostMac(), PoleBindingEnums.FOR_HELP); if (!belong) { throw new BusinessException("该设备不属于您,不能修改设备信息"); } } InterphoneHost interphoneHost = new InterphoneHost(); interphoneHost.setHostId(id); BeanUtils.copyProperties(interphoneHostParam, interphoneHost);