Browse Source

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
c929c6e09f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetDroneDataByIdService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetDroneDataByIdService.java View File

@@ -65,7 +65,7 @@ public class GetDroneDataByIdService {
List<FlightData> flightDataList = flightDataMapper.selectListByInspection(map);
if(CollectionUtils.isEmpty(flightDataList) || flightDataList.size() == 0){
log.info("获取无人机数据信息,数据为空");
JsonResult.success("数据为空");
return JsonResult.success("数据为空");
}
//取最新的一条数据给前端
FlightData flightData = flightDataList.get(0);

Loading…
Cancel
Save