Kaynağa Gözat

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.3.1
chengwang 1 yıl önce
ebeveyn
işleme
6eaa5fd0c1
4 değiştirilmiş dosya ile 9 ekleme ve 6 silme
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AirPortController.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/AirportService.java
  3. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/AirportServiceImpl.java
  4. +4
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetAirportListService.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AirPortController.java Dosyayı Görüntüle

@@ -28,8 +28,8 @@ public class AirPortController {
* 获取巡检机场
*/
@GetMapping("/list")
public JsonResult getList(List<Long> ids) {
return airportService.getAirportList(ids);
public JsonResult getList() {
return airportService.getAirportList();
}
/**
* 获取巡检线路

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/AirportService.java Dosyayı Görüntüle

@@ -8,7 +8,7 @@ import java.util.List;

public interface AirportService {

JsonResult getAirportList(List<Long> ids);
JsonResult getAirportList();

JsonResult getAirLineList(String sn,Long id);


+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/AirportServiceImpl.java Dosyayı Görüntüle

@@ -31,8 +31,8 @@ public class AirportServiceImpl implements AirportService {
private GetAirportVideoService getAirportVideoService;

@Override
public JsonResult getAirportList(List<Long> ids) {
return getAirportListService.getAirportList(ids);
public JsonResult getAirportList() {
return getAirportListService.getAirportList();
}

@Override

+ 4
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetAirportListService.java Dosyayı Görüntüle

@@ -6,6 +6,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Slf4j
@@ -15,7 +16,9 @@ public class GetAirportListService {
@Autowired
private TZHLGetAirportListService tzhlGetAirportListService;

public JsonResult getAirportList(List<Long> ids) {
public JsonResult getAirportList() {
List<Long> ids = new ArrayList<>();
ids.add(null);
//读取全量机场列表数据
JsonResult result = tzhlGetAirportListService.getAirportList(ids);


Yükleniyor…
İptal
Kaydet