Browse Source

根据机场返航

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
fc26816bea
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateInspectionStatusService.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateInspectionStatusService.java View File

@@ -75,8 +75,7 @@ public class UpdateInspectionStatusService {
//查询出对应的巡检任务
Inspection inspection = inspectionMapper.selectOne(new LambdaQueryWrapper<Inspection>()
.eq(Inspection::getMark, MarkEnum.VALID.getCode())
.eq(Inspection::getId, missionStatusRequest.getRequestId())
.eq(Inspection::getInspectionLine, missionStatusRequest.getId()));
.eq(Inspection::getId, missionStatusRequest.getRequestId()));
if (ObjectUtil.isEmpty(inspection)) {
log.info("任务不存在");
return JsonResult.error(EditInspectionStatusCodeEnum.INSPECTION_IS_NOT_EXIST.getCode(), EditInspectionStatusCodeEnum.INSPECTION_IS_NOT_EXIST.getMsg());

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java View File

@@ -37,7 +37,7 @@ public class PointFlightService {



@Transactional(propagation = Propagation.REQUIRED)
@Transactional
public JsonResult pointFlight(AccidentFlightRequest request) {
log.info("执行应急飞行起飞,request={}",request);
//先创建应急任务--->执行定点飞行任务

Loading…
Cancel
Save