REM:
1.添加设备时,将已删除的设备信息更新为正常
This commit is contained in:
chenlinghy 2020-09-27 15:42:35 +08:00
parent 75841379b3
commit 5a170d0f46
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}