From 0abcc981f5c8e674c17baf7160ee8e6446d87b3a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Fri, 09 Jan 2026 14:02:02 +0800
Subject: [PATCH] 数据驾驶舱优化
---
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/service/IFwDeviceService.java | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 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 08c928a..172c4be 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
@@ -17,6 +17,9 @@
package org.sxkj.fw.device.service;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
+import org.sxkj.fw.cockpit.vo.AlarmStatisticsVO;
+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.FwDeviceVO;
import org.sxkj.fw.device.excel.FwDeviceExcel;
@@ -25,10 +28,10 @@
import java.util.List;
/**
- * 反无设备表 服务类
+ * 设备表 服务类
*
- * @author AIX
- * @since 2026-01-06
+ * @author aix
+ * @since 2026-01-08
*/
public interface IFwDeviceService extends BaseService<FwDeviceEntity> {
/**
@@ -38,7 +41,7 @@
* @param fwDevice
* @return
*/
- IPage<FwDeviceVO> selectFwDevicePage(IPage<FwDeviceVO> page, FwDeviceVO fwDevice);
+ IPage<FwDeviceEntity> selectFwDevicePage(IPage<FwDeviceEntity> page, FwDeviceDTO fwDevice);
/**
@@ -49,4 +52,15 @@
*/
List<FwDeviceExcel> exportFwDevice(Wrapper<FwDeviceEntity> queryWrapper);
+ /**
+ * 设备类型统计
+ * @return
+ */
+ List<DeviceStatisticsVO> statisticalDeviceType();
+
+ /**
+ *
+ * @return
+ */
+ AlarmStatisticsVO statisticalDeviceAtt();
}
--
Gitblit v1.9.3