parent
cc170e79b3
commit
ed64ab41e6
|
@ -634,6 +634,11 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
|
||||||
// 获取设备
|
// 获取设备
|
||||||
AbilityInfo ai = disposeAbilityRouterService.getAbilityDevice(v.getDeviceId());
|
AbilityInfo ai = disposeAbilityRouterService.getAbilityDevice(v.getDeviceId());
|
||||||
|
|
||||||
|
// 如果设备已经删除或者禁用,跳过处理
|
||||||
|
if (ai == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// 对处置IP生成一个唯一的操作标识符
|
// 对处置IP生成一个唯一的操作标识符
|
||||||
String taskStopKey = task.getDisposeObject() + "Stop" + ai.getDev().getDeviceType().getDescription();
|
String taskStopKey = task.getDisposeObject() + "Stop" + ai.getDev().getDeviceType().getDescription();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue