@@ -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); |