Browse Source

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

tags/v1.2.0^2
wanjing 1 year ago
parent
commit
5c3450e178
1 changed files with 1 additions and 2 deletions
  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 View File

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

Loading…
Cancel
Save