REM:
1. 增加启动处置任务时,对异常状态的处置设备进行过滤
This commit is contained in:
HuangXin 2020-09-30 10:41:28 +08:00
parent 3e3635b912
commit d7f1d79518
1 changed files with 5 additions and 0 deletions

View File

@ -466,6 +466,11 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
// 获取设备
AbilityInfo ai = disposeAbilityRouterService.getAbilityDevice(v.getDeviceId());
// 如果设备已经删除或者禁用跳过处理
if(ai == null) {
continue;
}
// 对处置IP生成一个唯一的操作标识符
String taskStartKey = task.getDisposeObject() + "Start" + ai.getDev().getDeviceType().getDescription();