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