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); |
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); |
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); |
//调用机场平台返航 | //调用机场平台返航 | ||||
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"); |