Parcourir la source

Merge branch 'feature_v1.0' into develop

tags/V1.0.1^2
chengwang il y a 1 an
Parent
révision
8887456c8b
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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 Voir le fichier

@@ -6,6 +6,7 @@ import com.tuoheng.admin.constant.SystemConstant;
import com.tuoheng.admin.entity.domain.Inspection;
import com.tuoheng.admin.entity.vo.airport.AirPortLineLocationVo;
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.exception.ServiceException;
import com.tuoheng.common.core.utils.HttpUtils;
@@ -35,6 +36,9 @@ public class QueryAirportLineByAirportService {
*/
public JsonResult getAirportLineList(Inspection inspection) {
log.info("进入根据任务ID获取航线,从机场平台获取");
if(inspection.getInspectionType() == InspectionTypeEnum.MABNNEDFLIGHT.getCode()){
return JsonResult.success("飞行任务没有航线");
}
Integer inspectionLine = inspection.getInspectionLine();
JsonResult result = this.checkParam(inspectionLine);
if (0 != result.getCode()) {

Chargement…
Annuler
Enregistrer