2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-09 2e9a6554d676f5c696590b39258bd2644a8f2dc6
ximon-admin/src/main/java/com/sandu/ximon/admin/service/PoleService.java
@@ -381,7 +381,6 @@
                AtomicInteger error = new AtomicInteger(commonPage.getList().size());
                DeviceOnLineCountVO light = new DeviceOnLineCountVO();
                lights.forEach(
                        device -> {
@@ -1111,7 +1110,11 @@
            if (pole == null) {
                throw new BusinessException("灯杆不存在");
            }
            //一级客户   -1   userId
            //二级客户   上级客户id  userId
            pole.setClientId(-1L);
            pole.setUserId(-1L);
            r = updateById(pole);
            if (!r) {