REM:
1. 修改获取节点处置任务接口的出参,设备不存在时增加设备ID字段,taskArray字段置null
This commit is contained in:
chenlinghy 2020-05-28 09:55:50 +08:00
parent f2fc1bfd90
commit 8fb5fc6a43
1 changed files with 2 additions and 0 deletions

View File

@ -444,6 +444,8 @@ public class DisposeTaskController {
log.error("No such task, deviceId:{}", v);
NodeTaskData taskData = new NodeTaskData();
rspInfo.getItems().add(taskData);
taskData.setId(v);
taskData.setTaskArray(null);
taskData.setStatus(ErrorCode.ERR_NOSUCHTASK.getCode());
taskData.setMessage(ErrorCode.ERR_NOSUCHTASK.getMsg());
});