From 2cdecb7c9b51e61931ff4254c12d43a17b227dcd Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Tue, 10 Sep 2024 11:14:03 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/sch/task_manage/task/tasks/POINTTask.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java index f90ecb2..716f4d8 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java @@ -119,9 +119,8 @@ public class POINTTask extends AbstractTask { acs_task.setVehicle_code(schBasePoint.getVehicle_code()); acs_task.setVehicle_code2(schBasePoint.getVehicle_code2()); //下发 - //JSONObject result = this.renotifyAcs(acs_task); - //String status = result.getString("status"); - String status ="200"; + JSONObject result = this.renotifyAcs(acs_task); + String status = result.getString("status"); //下发成功 if("200".equals(status)){ task.setTask_status(TaskStatus.CREATED.getCode()); @@ -142,7 +141,7 @@ public class POINTTask extends AbstractTask { } now_num++; }else{ - //task.setRemark("下发acs失败:"+result.toString()); + task.setRemark("下发acs失败:"+result.toString()); taskService.update(task); } }