drone-service/drone-fw/src/main/java/org/sxkj/fw/area/service/impl/FwDefenseSceneManageServiceImpl.java
@@ -93,6 +93,7 @@ */ @Override public boolean deleteFwDefenseSceneManage(List<Long> longList) { //删除场景管理 boolean b = deleteLogic(longList); if (b) { // 1.遍历所有删除的场景管理ID @@ -102,6 +103,9 @@ List<Long> deviceIdList = baseMapper.selectDeviceId(sceneManageId); AllDeviceId.addAll(deviceIdList); } if (AllDeviceId == null || AllDeviceId.isEmpty()) { return true; } // 3.禁用设备 return fwDeviceService.update(Wrappers.<FwDeviceEntity>lambdaUpdate() .set(FwDeviceEntity::getIsEnabled, 0)