Browse Source

1、获取机场航线列表,增加sourceCode字段;2、操作无人机,增加code字段;

pull/76/head
wanjing 10 months ago
parent
commit
e6889fcbf4
4 changed files with 4 additions and 0 deletions
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetAirLineListService.java
  2. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/drone/continuee/DroneContinueService.java
  3. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/drone/hover/DroneHoverService.java
  4. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/reversal/ReversalFlightService.java

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetAirLineListService.java View File



JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("code", SystemConstant.PLATFORM_CODE); jsonObject.put("code", SystemConstant.PLATFORM_CODE);
jsonObject.put("sourceCode", SystemConstant.PLATFORM_CODE);
jsonObject.put("tenantCode", tenant.getCode()); jsonObject.put("tenantCode", tenant.getCode());
jsonObject.put("airportId", airportId); jsonObject.put("airportId", airportId);
jsonObject.put("airlineFileIds", airportLineIdList); jsonObject.put("airlineFileIds", airportLineIdList);

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/drone/continuee/DroneContinueService.java View File

public JsonResult continuee(Integer airportId, String inspectionId) { public JsonResult continuee(Integer airportId, String inspectionId) {
String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL; String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL;
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("code", SystemConstant.PLATFORM_CODE);
jsonObject.put("zhilin", "04"); jsonObject.put("zhilin", "04");
jsonObject.put("airportId", airportId); jsonObject.put("airportId", airportId);
jsonObject.put("taskId", inspectionId); jsonObject.put("taskId", inspectionId);

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/drone/hover/DroneHoverService.java View File



String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL; String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL;
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("code", SystemConstant.PLATFORM_CODE);
jsonObject.put("zhilin", "01"); jsonObject.put("zhilin", "01");
jsonObject.put("airportId", airportId); jsonObject.put("airportId", airportId);
jsonObject.put("taskId", inspectionId); jsonObject.put("taskId", inspectionId);

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/reversal/ReversalFlightService.java View File

//调用机场平台返航 //调用机场平台返航
String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL; String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL;
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("code", SystemConstant.PLATFORM_CODE);
jsonObject.put("airportId", inspection.getAirportId()); jsonObject.put("airportId", inspection.getAirportId());
jsonObject.put("taskId", inspection.getId()); jsonObject.put("taskId", inspection.getId());
jsonObject.put("zhilin", "03"); jsonObject.put("zhilin", "03");

Loading…
Cancel
Save