Browse Source

Merge branch 'develop' of gitadmin/tuoheng_lc into release

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



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


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

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

Loading…
Cancel
Save