Showing
1 changed file
with
4 additions
and
1 deletions
@@ -104,7 +104,10 @@ public class RpcCommandTask { | @@ -104,7 +104,10 @@ public class RpcCommandTask { | ||
104 | && cancelExecuteDevices.contains(deviceId)) { | 104 | && cancelExecuteDevices.contains(deviceId)) { |
105 | continue; | 105 | continue; |
106 | } | 106 | } |
107 | - sendRpcCommand(cmdJsonNode, tenantId, deviceId, securityUser, taskCenterId); | 107 | + DeviceDTO dto = tkDeviceService.findDeviceInfoByTbDeviceId(tenantId, deviceId); |
108 | + if (null != dto) { | ||
109 | + sendRpcCommand(cmdJsonNode, tenantId, deviceId, securityUser, taskCenterId); | ||
110 | + } | ||
108 | } | 111 | } |
109 | } else { | 112 | } else { |
110 | sendRpcCommandByProducts( | 113 | sendRpcCommandByProducts( |