Browse Source

修改获取无人机信息代码

tags/v1.2.0^2
wanjing 1 year ago
parent
commit
ad1856380f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/drone/QueryDroneDataService.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/drone/QueryDroneDataService.java View File

@@ -67,7 +67,7 @@ public class QueryDroneDataService {
List<ThInspection> inspectionList = inspectionMapper.selectListByMissionId(map);
if (CollectionUtil.isEmpty(inspectionList)) {
log.info("获取无人机数据信息, 数据为空");
JsonResult.success("数据为空");
return JsonResult.success("数据为空");
}
List<DroneDataVo> droneDataVoList = InspectionConverMapper.INSTANCE.fromInspectionListToDroneDataVoList(inspectionList);
return JsonResult.success(droneDataVoList);

Loading…
Cancel
Save