ximon-admin/src/main/java/com/sandu/ximon/admin/service/PoleService.java
@@ -717,7 +717,7 @@ throw new BusinessException("灯杆不存在"); } pole.setClientId(clientId); if (!clientService.findClientId(clientId)) { if (clientService.findClientId(clientId)) { pole.setUserId(clientService.getClientId(clientId)); } @@ -745,7 +745,6 @@ if (pole == null) { throw new BusinessException("灯杆不存在"); } pole.setUserId(-1L); pole.setClientId(-1L); r = updateById(pole);