|
|
@@ -178,8 +178,7 @@ public class AccidentVerifyService { |
|
|
|
*/ |
|
|
|
private void callAirpor(Accident accident, Inspection inspection) { |
|
|
|
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; |
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
jsonObject.put("taskId", inspection.getId()); |