Browse Source

Merge branch 'feature_v1.0' into develop

tags/V1.0.1^2
chengwang 1 year ago
parent
commit
8887456c8b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airportline/query/inspection/QueryAirportLineByAirportService.java

+ 4
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airportline/query/inspection/QueryAirportLineByAirportService.java View File

import com.tuoheng.admin.entity.domain.Inspection; import com.tuoheng.admin.entity.domain.Inspection;
import com.tuoheng.admin.entity.vo.airport.AirPortLineLocationVo; import com.tuoheng.admin.entity.vo.airport.AirPortLineLocationVo;
import com.tuoheng.admin.entity.vo.airport.AirPortStatusVO; import com.tuoheng.admin.entity.vo.airport.AirPortStatusVO;
import com.tuoheng.admin.enums.InspectionTypeEnum;
import com.tuoheng.common.core.config.common.CommonConfig; import com.tuoheng.common.core.config.common.CommonConfig;
import com.tuoheng.common.core.exception.ServiceException; import com.tuoheng.common.core.exception.ServiceException;
import com.tuoheng.common.core.utils.HttpUtils; import com.tuoheng.common.core.utils.HttpUtils;
*/ */
public JsonResult getAirportLineList(Inspection inspection) { public JsonResult getAirportLineList(Inspection inspection) {
log.info("进入根据任务ID获取航线,从机场平台获取"); log.info("进入根据任务ID获取航线,从机场平台获取");
if(inspection.getInspectionType() == InspectionTypeEnum.MABNNEDFLIGHT.getCode()){
return JsonResult.success("飞行任务没有航线");
}
Integer inspectionLine = inspection.getInspectionLine(); Integer inspectionLine = inspection.getInspectionLine();
JsonResult result = this.checkParam(inspectionLine); JsonResult result = this.checkParam(inspectionLine);
if (0 != result.getCode()) { if (0 != result.getCode()) {

Loading…
Cancel
Save