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