Просмотр исходного кода

修改事故核实查找坐标代码

tags/v1.2.0^2
wanjing 1 год назад
Родитель
Сommit
5c3450e178
1 измененных файлов: 1 добавлений и 2 удалений
  1. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/verify/AccidentVerifyService.java

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/verify/AccidentVerifyService.java Просмотреть файл

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

Загрузка…
Отмена
Сохранить