REM:
1.修正更新设备空指针异常
This commit is contained in:
chenlinghy 2021-02-03 09:26:02 +08:00
parent 40f044c2e7
commit 4acef0595e
1 changed files with 1 additions and 1 deletions

View File

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