Browse Source

opt:注释代码还原

master
zds 3 months ago
parent
commit
2cdecb7c9b
  1. 7
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java

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

Loading…
Cancel
Save