diff --git a/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java b/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java index ec42d98f..bd5b19c3 100644 --- a/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java +++ b/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java @@ -69,7 +69,7 @@ public class DisposeDeviceManagerImpl implements DisposeDeviceManager { if (ret.getFirstParam() == ErrorCode.ERR_OK) { // 同步更新缓存中设备状态 - disposeAbilityRouterService.upgradeDisposeDevice(dev.getId(), dev.getStatus()); + disposeAbilityRouterService.upgradeDisposeDevice(ret.getSecondParam(), dev.getStatus()); } return ret;