diff --git a/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java b/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java index c445ad74..5603aafd 100644 --- a/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java +++ b/src/main/java/com/dispose/manager/impl/DisposeDeviceManagerImpl.java @@ -62,7 +62,7 @@ public class DisposeDeviceManagerImpl implements DisposeDeviceManager { // 如果设备是删除状态,则更新设备信息 if (tDev.getStatus() == ObjectStatus.DELETED) { // 重置状态 - tDev.setStatus(ObjectStatus.NORMAL); + dev.setStatus(ObjectStatus.NORMAL); return upgradeDisposeDevice(dev); }