|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
private void callAirpor(Accident accident, Inspection inspection) { |
|
|
private void callAirpor(Accident accident, Inspection inspection) { |
|
|
InspectionFile inspectionFile = inspectionFileMapper.selectOne(new LambdaQueryWrapper<InspectionFile>() |
|
|
InspectionFile inspectionFile = inspectionFileMapper.selectOne(new LambdaQueryWrapper<InspectionFile>() |
|
|
.eq(InspectionFile::getId, accident.getInspectionFileId()) |
|
|
|
|
|
.eq(InspectionFile::getMark, MarkEnum.VALID.getCode())); |
|
|
|
|
|
|
|
|
.eq(InspectionFile::getId, accident.getInspectionFileId())); |
|
|
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("taskId", inspection.getId()); |
|
|
jsonObject.put("taskId", inspection.getId()); |