|
@ -119,9 +119,8 @@ public class POINTTask extends AbstractTask { |
|
|
acs_task.setVehicle_code(schBasePoint.getVehicle_code()); |
|
|
acs_task.setVehicle_code(schBasePoint.getVehicle_code()); |
|
|
acs_task.setVehicle_code2(schBasePoint.getVehicle_code2()); |
|
|
acs_task.setVehicle_code2(schBasePoint.getVehicle_code2()); |
|
|
//下发
|
|
|
//下发
|
|
|
//JSONObject result = this.renotifyAcs(acs_task);
|
|
|
JSONObject result = this.renotifyAcs(acs_task); |
|
|
//String status = result.getString("status");
|
|
|
String status = result.getString("status"); |
|
|
String status ="200"; |
|
|
|
|
|
//下发成功
|
|
|
//下发成功
|
|
|
if("200".equals(status)){ |
|
|
if("200".equals(status)){ |
|
|
task.setTask_status(TaskStatus.CREATED.getCode()); |
|
|
task.setTask_status(TaskStatus.CREATED.getCode()); |
|
@ -142,7 +141,7 @@ public class POINTTask extends AbstractTask { |
|
|
} |
|
|
} |
|
|
now_num++; |
|
|
now_num++; |
|
|
}else{ |
|
|
}else{ |
|
|
//task.setRemark("下发acs失败:"+result.toString());
|
|
|
task.setRemark("下发acs失败:"+result.toString()); |
|
|
taskService.update(task); |
|
|
taskService.update(task); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|