From 8fb5fc6a4340d104d00d95a329e722032f93e823 Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Thu, 28 May 2020 09:55:50 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E4=BF=AE=E6=94=B9=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E8=8A=82=E7=82=B9=E5=A4=84=E7=BD=AE=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E5=87=BA=E5=8F=82=EF=BC=8C=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=B8=8D=E5=AD=98=E5=9C=A8=E6=97=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=AE=BE=E5=A4=87ID=E5=AD=97=E6=AE=B5=EF=BC=8CtaskArray?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=BD=AEnull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/dispose/controller/DisposeTaskController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/dispose/controller/DisposeTaskController.java b/src/main/java/com/dispose/controller/DisposeTaskController.java index 9d860600..4489cb32 100644 --- a/src/main/java/com/dispose/controller/DisposeTaskController.java +++ b/src/main/java/com/dispose/controller/DisposeTaskController.java @@ -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()); });