|
|
@@ -145,7 +145,7 @@ public class PointFlightService { |
|
|
|
.eq(ThMission::getMark, MarkEnum.VALID.getCode())); |
|
|
|
if (TaskStatusEnum.FLIGHT.getCode() == missionTmp.getStatus()) { |
|
|
|
log.info("原机场正在执行任务"); |
|
|
|
throw new ServiceException("原机场正在执行任务"); |
|
|
|
throw new ServiceException("发现该问题的机场正在执行任务"); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
@@ -155,7 +155,7 @@ public class PointFlightService { |
|
|
|
.eq(ThMission::getMark, MarkEnum.VALID.getCode())); |
|
|
|
if (ObjectUtil.isNotNull(missionTmp)) { |
|
|
|
log.info("新机场正在执行任务"); |
|
|
|
throw new ServiceException("新机场正在执行任务"); |
|
|
|
throw new ServiceException("该机场正在执行任务"); |
|
|
|
} |
|
|
|
} |
|
|
|
return JsonResult.success(mission); |