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); } }