From 4e48664942bbefe70699ca43d25cbbd56ecc8daa Mon Sep 17 00:00:00 2001 From: xiebin <vip_xiaobin810@163.com> Date: Mon, 19 Jan 2026 15:17:12 +0800 Subject: [PATCH] update-维修计划状态更新、新增定时器修改状态 --- drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 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 70f22fd..c0841e8 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 @@ -22,11 +22,13 @@ 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; /** * 设备表 服务类 @@ -44,6 +46,16 @@ */ IPage<FwDeviceEntity> selectFwDevicePage(IPage<FwDeviceEntity> page, FwDeviceDTO fwDevice); + /** + * 列表查询 + * + * @param isAreaSelect 是否过滤区域 + * @param areaId 设备被关联区域id + * @param status 设备状态 + * @return + */ + List<FwDeviceEntity> selectFwDeviceList(Integer isAreaSelect, Long areaId, Integer status); + /** * 导出数据 @@ -60,6 +72,24 @@ List<DeviceStatisticsVO> statisticalDeviceType(); /** + * 设备统计 - 按类型统计 + * @return 统计数据 + */ + List<DeviceTypeStatisticsVO> getDeviceTypeStatistics(); + + /** + * 设备出库去向统计 + * @return 统计数据 + */ + List<DeviceStatisticsVO> getDeviceOutStatistics(); + + /** + * 设备生产厂商统计 + * @return 统计数据 + */ + List<DeviceStatisticsVO> getDeviceManufacturerStatistics(); + + /** * 设备报警统计 * @return */ @@ -72,4 +102,12 @@ * @return */ IPage<CockpitFwDeviceVO> selectCockpitDevicePage(IPage<CockpitFwDeviceVO> page, FwDeviceDTO fwDevice); + + /** + * 获取设备关联场景名称 + * + * @param deviceIds + * @return + */ + Map<Long, String> selectSceneNameByDeviceIds(List<Long> deviceIds); } -- Gitblit v1.9.3