@@ -32,9 +32,9 @@ public class AirPortCallbackController { | |||
* 被硬件调用,执行任务后,回调执行状态 | |||
*/ | |||
@PostMapping("/executeTaskStatus") | |||
public JsonResult getExecuteTaskStatus(@RequestBody @Valid ExecuteTaskStatusRequest executeTaskStatusRequest) { | |||
public JsonResult updateExecuteTaskStatus(@RequestBody @Valid ExecuteTaskStatusRequest executeTaskStatusRequest) { | |||
log.info("被硬件调用,执行任务后,回调执行状态:{}", JSONObject.toJSONString(executeTaskStatusRequest)); | |||
return iInspectionService.getExecuteTaskStatus(executeTaskStatusRequest); | |||
return iInspectionService.updateExecuteTaskStatus(executeTaskStatusRequest); | |||
} | |||
/** |
@@ -116,7 +116,7 @@ public interface IInspectionService { | |||
/** | |||
* 被硬件调用,执行任务后,回调执行状态 | |||
*/ | |||
JsonResult getExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest); | |||
JsonResult updateExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest); | |||
/** | |||
* 被硬件调用,存任务飞行开始/结束状态 |
@@ -246,7 +246,7 @@ public class InspectionServiceImpl implements IInspectionService { | |||
* 被硬件调用,执行任务后,回调执行状态 | |||
*/ | |||
@Override | |||
public JsonResult getExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest) { | |||
public JsonResult updateExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest) { | |||
return updateExecuteTaskStatusService.updateStatus(executeTaskStatusRequest); | |||
} | |||