Bläddra i källkod

修改任务执行,回调修改状态接口名称

tags/v1.0.0^2
wanjing 1 år sedan
förälder
incheckning
5892882837
3 ändrade filer med 4 tillägg och 4 borttagningar
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/callback/AirPortCallbackController.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/IInspectionService.java
  3. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/InspectionServiceImpl.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/callback/AirPortCallbackController.java Visa fil

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

/**

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/IInspectionService.java Visa fil

@@ -116,7 +116,7 @@ public interface IInspectionService {
/**
* 被硬件调用,执行任务后,回调执行状态
*/
JsonResult getExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest);
JsonResult updateExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest);

/**
* 被硬件调用,存任务飞行开始/结束状态

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/InspectionServiceImpl.java Visa fil

@@ -246,7 +246,7 @@ public class InspectionServiceImpl implements IInspectionService {
* 被硬件调用,执行任务后,回调执行状态
*/
@Override
public JsonResult getExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest) {
public JsonResult updateExecuteTaskStatus(ExecuteTaskStatusRequest executeTaskStatusRequest) {
return updateExecuteTaskStatusService.updateStatus(executeTaskStatusRequest);
}


Laddar…
Avbryt
Spara