From 30beee44b53d578bc218e5ce12a57e7e695a2d47 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期六, 23 十二月 2023 14:14:28 +0800
Subject: [PATCH] 增加接口权限不检验接口
---
ard-work/src/main/java/com/ruoyi/device/external/controller/ArdEquipExternalController.java | 12 +++++
ard-work/src/main/java/com/ruoyi/device/camera/controller/ArdCamerasController.java | 11 +++++
ard-work/src/main/java/com/ruoyi/device/radar/controller/ArdEquipRadarController.java | 12 +++++
ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectTaskController.java | 10 ++++
ard-work/src/main/java/com/ruoyi/media/controller/VtduController.java | 10 ++++
ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectRecordController.java | 7 +++
6 files changed, 57 insertions(+), 5 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/device/camera/controller/ArdCamerasController.java b/ard-work/src/main/java/com/ruoyi/device/camera/controller/ArdCamerasController.java
index 9a28677..8ff1f37 100644
--- a/ard-work/src/main/java/com/ruoyi/device/camera/controller/ArdCamerasController.java
+++ b/ard-work/src/main/java/com/ruoyi/device/camera/controller/ArdCamerasController.java
@@ -61,7 +61,16 @@
List<ArdCameras> list = ardCamerasService.selectArdCamerasList(ardCamera);
return getDataTable(list);
}
-
+ /**
+ * 鏌ヨ鐩告満璁惧鍒楄〃锛堜笉鏍¢獙鏉冮檺锛�
+ */
+ @GetMapping("/list/noPerm")
+ @ApiOperation("鏌ヨ鐩告満璁惧鍒楄〃")
+ public TableDataInfo listNoPerm(ArdCameras ardCamera) {
+ startPage();
+ List<ArdCameras> list = ardCamerasService.selectArdCamerasList(ardCamera);
+ return getDataTable(list);
+ }
/**
* 瀵煎嚭鐩告満璁惧鍒楄〃
*/
diff --git a/ard-work/src/main/java/com/ruoyi/device/external/controller/ArdEquipExternalController.java b/ard-work/src/main/java/com/ruoyi/device/external/controller/ArdEquipExternalController.java
index 57eded5..034e56e 100644
--- a/ard-work/src/main/java/com/ruoyi/device/external/controller/ArdEquipExternalController.java
+++ b/ard-work/src/main/java/com/ruoyi/device/external/controller/ArdEquipExternalController.java
@@ -50,7 +50,17 @@
List<ArdEquipExternal> list = ardEquipExternalService.selectArdEquipExternalList(ardEquipExternal);
return getDataTable(list);
}
-
+ /**
+ * 鏌ヨexternal鍒楄〃(涓嶆牎楠屾潈闄�)
+ */
+ @ApiOperation(value = "鏌ヨ澶栬仈璁惧绠$悊鍒楄〃")
+ @GetMapping("/list/noPerm")
+ public TableDataInfo listNoPerm(ArdEquipExternal ardEquipExternal)
+ {
+ startPage();
+ List<ArdEquipExternal> list = ardEquipExternalService.selectArdEquipExternalList(ardEquipExternal);
+ return getDataTable(list);
+ }
/**
* 瀵煎嚭external鍒楄〃
*/
diff --git a/ard-work/src/main/java/com/ruoyi/device/radar/controller/ArdEquipRadarController.java b/ard-work/src/main/java/com/ruoyi/device/radar/controller/ArdEquipRadarController.java
index 658f2e2..3d561ff 100644
--- a/ard-work/src/main/java/com/ruoyi/device/radar/controller/ArdEquipRadarController.java
+++ b/ard-work/src/main/java/com/ruoyi/device/radar/controller/ArdEquipRadarController.java
@@ -56,7 +56,17 @@
List<ArdEquipRadar> list = ardEquipRadarService.selectArdEquipRadarList(ardEquipRadar);
return getDataTable(list);
}
-
+ /**
+ * 鏌ヨradar鍒楄〃锛堜笉鏍¢獙鏉冮檺锛�
+ */
+ @GetMapping("/list/noPerm")
+ @ApiOperation(value = "鏌ヨ闆疯揪绠$悊鍒楄〃")
+ public TableDataInfo listNoPerm(ArdEquipRadar ardEquipRadar)
+ {
+ startPage();
+ List<ArdEquipRadar> list = ardEquipRadarService.selectArdEquipRadarList(ardEquipRadar);
+ return getDataTable(list);
+ }
/**
* 瀵煎嚭radar鍒楄〃
*/
diff --git a/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectRecordController.java b/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectRecordController.java
index 6455a6b..e4c4d8e 100644
--- a/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectRecordController.java
+++ b/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectRecordController.java
@@ -47,6 +47,13 @@
return getDataTable(list);
}
+ //涓嶆牎楠屾潈闄�
+ @GetMapping("/listByStartTime/noPerm")
+ public TableDataInfo listByStartTimeNoPerm(ArdVideoInspectRecord ardVideoInspectRecord) {
+ startPage();
+ List<HashMap> list = ardVideoInspectRecordService.selectArdVideoInspectRecordListByStartTime(ardVideoInspectRecord);
+ return getDataTable(list);
+ }
@PreAuthorize("@ss.hasPermi('inspect:record:list')")
@GetMapping("/getFileCountByStartMonth")
public List getFileCountByStartMonth(@RequestParam("startMonth") String startMonth) {
diff --git a/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectTaskController.java b/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectTaskController.java
index fc30265..1d15f15 100644
--- a/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectTaskController.java
+++ b/ard-work/src/main/java/com/ruoyi/inspect/controller/ArdVideoInspectTaskController.java
@@ -46,7 +46,15 @@
List<ArdVideoInspectTask> list = ardVideoInspectTaskService.selectArdVideoInspectTaskList(ardVideoInspectTask);
return getDataTable(list);
}
-
+ /**
+ * 鏌ヨ瑙嗛宸℃浠诲姟鍒楄〃锛堜笉鏍¢獙鏉冮檺锛�
+ */
+ @GetMapping("/list/noPerm")
+ public TableDataInfo listNoPerm(ArdVideoInspectTask ardVideoInspectTask) {
+ startPage();
+ List<ArdVideoInspectTask> list = ardVideoInspectTaskService.selectArdVideoInspectTaskList(ardVideoInspectTask);
+ return getDataTable(list);
+ }
/**
* 瀵煎嚭瑙嗛宸℃浠诲姟鍒楄〃
*/
diff --git a/ard-work/src/main/java/com/ruoyi/media/controller/VtduController.java b/ard-work/src/main/java/com/ruoyi/media/controller/VtduController.java
index c052f2a..d61b746 100644
--- a/ard-work/src/main/java/com/ruoyi/media/controller/VtduController.java
+++ b/ard-work/src/main/java/com/ruoyi/media/controller/VtduController.java
@@ -55,7 +55,15 @@
List<Vtdu> list = vtduService.selectVtduList(vtdu);
return getDataTable(list);
}
-
+ /**
+ * 鏌ヨ娴佸獟浣撶鐞嗗垪琛紙涓嶆牎楠屾潈闄愶級
+ */
+ @GetMapping("/list/noPerm")
+ public TableDataInfo listNoPerm(Vtdu vtdu) {
+ startPage();
+ List<Vtdu> list = vtduService.selectVtduList(vtdu);
+ return getDataTable(list);
+ }
/**
* 瀵煎嚭娴佸獟浣撶鐞嗗垪琛�
*/
--
Gitblit v1.9.3