From 23545fcd763ae8bc87072df7001ccd2682b82cce Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 09 Feb 2026 15:18:45 +0800
Subject: [PATCH] feat:侦测反制设备&场景部署调整

---
 applications/drone-command/src/views/api.txt |  173 +++++++++++++++++++++++++++++++++------------------------
 1 files changed, 99 insertions(+), 74 deletions(-)

diff --git a/applications/drone-command/src/views/api.txt b/applications/drone-command/src/views/api.txt
index ab098cd..8961416 100644
--- a/applications/drone-command/src/views/api.txt
+++ b/applications/drone-command/src/views/api.txt
@@ -3,7 +3,7 @@
 ## 列表
 
 
-**接口地址**:`/device/fwDevice/list`
+**接口地址**:`/cockpit/dataCockpit/defenseSceneManageList`
 
 
 **请求方式**:`GET`
@@ -15,7 +15,7 @@
 **响应数据类型**:`*/*`
 
 
-**接口描述**:<p>传入isAreaSelect、areaId、areaIds(多个用,隔开获取对应区域绑定设备数据)、status</p>
+**接口描述**:<p>传入time</p>
 
 
 
@@ -27,11 +27,7 @@
 
 | 参数名称 | 参数说明 | 请求类型    | 是否必须 | 数据类型 | schema |
 | -------- | -------- | ----- | -------- | -------- | ------ |
-|areaId|areaId|query|false|integer(int64)||
-|areaIds|areaIds(多个用,隔开)|query|false|string||
-|isAreaSelect|isAreaSelect|query|false|integer(int32)||
-|isTrack|isTrack|query|false|integer(int32)||
-|status|status|query|false|integer(int32)||
+|time|时间筛选(yyyy-MM-dd HH:mm:ss)|query|false|string(date-time)||
 
 
 **响应状态**:
@@ -39,7 +35,7 @@
 
 | 状态码 | 说明 | schema |
 | -------- | -------- | ----- | 
-|200|OK|R«List«FwDeviceVO»»|
+|200|OK|R«List«FwDefenseSceneManageVO»»|
 |401|Unauthorized||
 |403|Forbidden||
 |404|Not Found||
@@ -51,41 +47,21 @@
 | 参数名称 | 参数说明 | 类型 | schema |
 | -------- | -------- | ----- |----- | 
 |code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|array|FwDeviceVO|
-|&emsp;&emsp;azimuth|方位角 0-360°|integer(int32)||
-|&emsp;&emsp;batteryPct|电量百分比 0-100|integer(int32)||
-|&emsp;&emsp;belongDept|所属部门id|integer(int64)||
-|&emsp;&emsp;belongDeptName|所属部门名称|string||
-|&emsp;&emsp;charger|负责人|string||
-|&emsp;&emsp;contactPhone|联系电话|string||
-|&emsp;&emsp;createDept|创建部门|integer(int64)||
-|&emsp;&emsp;createTime|创建时间|string(date-time)||
-|&emsp;&emsp;createUser|创建人|integer(int64)||
-|&emsp;&emsp;detectTargetCnt|侦测目标数量|integer(int32)||
-|&emsp;&emsp;deviceAtt|设备属性(无线电/光电/雷达)|string||
-|&emsp;&emsp;deviceModel|型号|string||
-|&emsp;&emsp;deviceName|设备名称|string||
-|&emsp;&emsp;deviceSn|设备sn|string||
-|&emsp;&emsp;deviceSpecification|规格|string||
-|&emsp;&emsp;deviceType|设备类型(察打一体/便捷侦测箱/反制枪)|string||
-|&emsp;&emsp;effectiveRangeKm|有效范围 km|number||
-|&emsp;&emsp;elevation|俯仰角 -90-+90°|integer(int32)||
-|&emsp;&emsp;id|主键|integer(int64)||
-|&emsp;&emsp;isShared|是否被共享给当前机构|boolean||
-|&emsp;&emsp;latitude|纬度|string||
-|&emsp;&emsp;longitude|经度|string||
-|&emsp;&emsp;manufacturer|生产厂商|string||
-|&emsp;&emsp;outTarget|出库去向|string||
-|&emsp;&emsp;purpose|用途|string||
-|&emsp;&emsp;remark|备注|string||
+|data|承载数据|array|FwDefenseSceneManageVO|
+|&emsp;&emsp;areaCode|区域编码|string||
+|&emsp;&emsp;areaCount|区域数量|integer(int32)||
+|&emsp;&emsp;defenseLeader|防控负责人|string||
+|&emsp;&emsp;defenseSceneId|关联场景配置ID|integer(int64)||
+|&emsp;&emsp;defenseSceneName|场景配置名称|string||
+|&emsp;&emsp;deviceCount|设备数量|integer(int32)||
+|&emsp;&emsp;effectiveDateEnd|有效时间-结束|string(date-time)||
+|&emsp;&emsp;effectiveDateStart|有效时间-开始|string(date-time)||
+|&emsp;&emsp;id||integer(int64)||
+|&emsp;&emsp;latitude|指挥点纬度|number(double)||
+|&emsp;&emsp;leaderPhone|防控负责人电话|string||
+|&emsp;&emsp;longitude|指挥点经度|number(double)||
 |&emsp;&emsp;sceneName|场景名称|string||
-|&emsp;&emsp;shareId|共享记录ID|integer(int64)||
-|&emsp;&emsp;source|来源|string||
-|&emsp;&emsp;status|运行状态(0:在线/1:离线/2:故障/3:报废)|integer(int32)||
-|&emsp;&emsp;trackStatus|设备出入库状态 0未出库1已出库|integer(int32)||
-|&emsp;&emsp;updateTime|更新时间|string(date-time)||
-|&emsp;&emsp;updateUser|更新人|integer(int64)||
-|&emsp;&emsp;workMode|工作模式:1.侦测中/2.信号干扰中/3.诱导驱离中/4.待机|string||
+|&emsp;&emsp;sceneType|场景类型:核心区/学校等|string||
 |msg|返回消息|string||
 |success|是否成功|boolean||
 
@@ -96,43 +72,92 @@
 	"code": 0,
 	"data": [
 		{
-			"azimuth": 0,
-			"batteryPct": 0,
-			"belongDept": 0,
-			"belongDeptName": "",
-			"charger": "",
-			"contactPhone": "",
-			"createDept": 0,
-			"createTime": "",
-			"createUser": 0,
-			"detectTargetCnt": 0,
-			"deviceAtt": "",
-			"deviceModel": "",
-			"deviceName": "",
-			"deviceSn": "",
-			"deviceSpecification": "",
-			"deviceType": "",
-			"effectiveRangeKm": 0,
-			"elevation": 0,
+			"areaCode": "",
+			"areaCount": 0,
+			"defenseLeader": "",
+			"defenseSceneId": 0,
+			"defenseSceneName": "",
+			"deviceCount": 0,
+			"effectiveDateEnd": "",
+			"effectiveDateStart": "",
 			"id": 0,
-			"isShared": true,
-			"latitude": "",
-			"longitude": "",
-			"manufacturer": "",
-			"outTarget": "",
-			"purpose": "",
-			"remark": "",
+			"latitude": 0,
+			"leaderPhone": "",
+			"longitude": 0,
 			"sceneName": "",
-			"shareId": 0,
-			"source": "",
-			"status": 0,
-			"trackStatus": 0,
-			"updateTime": "",
-			"updateUser": 0,
-			"workMode": ""
+			"sceneType": ""
 		}
 	],
 	"msg": "",
 	"success": true
 }
 ```
+
+
+
+
+
+## 场景管理统计
+
+
+**接口地址**:`/cockpit/dataCockpit/sceneManageStatistics`
+
+
+**请求方式**:`GET`
+
+
+**请求数据类型**:`application/x-www-form-urlencoded`
+
+
+**响应数据类型**:`*/*`
+
+
+**接口描述**:<p>返回场景管理数量与区域数量</p>
+
+
+
+**请求参数**:
+
+
+**请求参数**:
+
+
+暂无
+
+
+**响应状态**:
+
+
+| 状态码 | 说明 | schema |
+| -------- | -------- | ----- | 
+|200|OK|R«SceneManageStatisticsVO»|
+|401|Unauthorized||
+|403|Forbidden||
+|404|Not Found||
+
+
+**响应参数**:
+
+
+| 参数名称 | 参数说明 | 类型 | schema |
+| -------- | -------- | ----- |----- | 
+|code|状态码|integer(int32)|integer(int32)|
+|data|承载数据|SceneManageStatisticsVO|SceneManageStatisticsVO|
+|&emsp;&emsp;areaCount|区域数量|integer(int32)||
+|&emsp;&emsp;sceneManageCount|场景管理数量|integer(int32)||
+|msg|返回消息|string||
+|success|是否成功|boolean||
+
+
+**响应示例**:
+```javascript
+{
+	"code": 0,
+	"data": {
+		"areaCount": 0,
+		"sceneManageCount": 0
+	},
+	"msg": "",
+	"success": true
+}
+```
\ No newline at end of file

--
Gitblit v1.9.3