REM:
1. 修正更新设备时,不能正常添加设备能力BUG
This commit is contained in:
HuangXin 2020-09-27 14:41:31 +08:00
parent eee047993e
commit 75841379b3
2 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,7 @@ public class DisposeDeviceManagerImpl implements DisposeDeviceManager {
if (tDev.getDevCapacity().size() != 0) {
tDev.getDevCapacity().forEach(v -> {
v.setDeviceId(dev.getId());
v.setDeviceId(devId);
if (v.getIpType() == null) {
v.setIpType(IpAddrType.IPV4_IPV6);
}

View File

@ -100,6 +100,7 @@ public class DisposeTaskServiceImpl implements DisposeTaskService {
*
* @return the dispose task list
*/
@Override
public List<DisposeTask> getAllDisposeTask() {
return disposeTaskManager.getDisposeTasks();
}