2021与蓝度共同重构项目,服务端
liuhaonan
2022-09-14 c3e734b8a5370f3d4b0102a86721a98adb8e3476
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);