From ac3d3e016125892964104f9b4d06978fa8d71063 Mon Sep 17 00:00:00 2001 From: xiebin <vip_xiaobin810@163.com> Date: Wed, 14 Jan 2026 14:57:34 +0800 Subject: [PATCH] add-6.设备-类型分析,7.设备-出库去向统计8.设备-产商统计 --- drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 47 insertions(+), 1 deletions(-) diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java index 172c4be..ab30638 100644 --- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java +++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java @@ -21,11 +21,14 @@ import org.sxkj.fw.cockpit.vo.DeviceStatisticsVO; import org.sxkj.fw.device.dto.FwDeviceDTO; import org.sxkj.fw.device.entity.FwDeviceEntity; +import org.sxkj.fw.device.vo.CockpitFwDeviceVO; +import org.sxkj.fw.device.vo.DeviceTypeStatisticsVO; import org.sxkj.fw.device.vo.FwDeviceVO; import org.sxkj.fw.device.excel.FwDeviceExcel; import com.baomidou.mybatisplus.core.metadata.IPage; import org.springblade.core.mp.base.BaseService; import java.util.List; +import java.util.Map; /** * 设备表 服务类 @@ -43,6 +46,15 @@ */ IPage<FwDeviceEntity> selectFwDevicePage(IPage<FwDeviceEntity> page, FwDeviceDTO fwDevice); + /** + * 列表查询 + * + * @param isAreaSelect + * @param areaId + * @return + */ + List<FwDeviceEntity> selectFwDeviceList(Integer isAreaSelect, Long areaId); + /** * 导出数据 @@ -59,8 +71,42 @@ List<DeviceStatisticsVO> statisticalDeviceType(); /** - * + * 设备统计 - 按类型统计 + * @return 统计数据 + */ + List<DeviceTypeStatisticsVO> getDeviceTypeStatistics(); + + /** + * 设备出库去向统计 + * @return 统计数据 + */ + List<DeviceStatisticsVO> getDeviceOutStatistics(); + + /** + * 设备生产厂商统计 + * @return 统计数据 + */ + List<DeviceStatisticsVO> getDeviceManufacturerStatistics(); + + /** + * 设备报警统计 * @return */ AlarmStatisticsVO statisticalDeviceAtt(); + + /** + * 驾驶舱获取设备列表 + * @param page + * @param fwDevice + * @return + */ + IPage<CockpitFwDeviceVO> selectCockpitDevicePage(IPage<CockpitFwDeviceVO> page, FwDeviceDTO fwDevice); + + /** + * 获取设备关联场景名称 + * + * @param deviceIds + * @return + */ + Map<Long, String> selectSceneNameByDeviceIds(List<Long> deviceIds); } -- Gitblit v1.9.3