Bladeren bron

重构定点飞行代码

tags/v1.2.0^2
wanjing 1 jaar geleden
bovenliggende
commit
4f4879fd99
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. +3
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java

+ 3
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java Bestand weergeven

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

@Transactional
public JsonResult executePointFligh(PointFlightRequest request) {
log.info("进入调用机场平台,执行定点飞行");
log.info("进入调用机场平台,执行定点飞行, request = {}", request);
JsonResult result = this.check(request);
User user = ShiroUtils.getUserInfo();
Integer tenantId = user.getTenantId();
@@ -58,6 +58,8 @@ public class PointFlightService {
// 创建应急任务
ThMission mission = this.createMission(user, request);

log.info("进入调用机场平台,执行定点飞行, mission = {}", mission);

// 调用机场平台
// 修改原巡检任务状态为已完成
if (TaskStatusEnum.COMPLETE.getCode() == mission.getStatus()) {

Laden…
Annuleren
Opslaan