From 163f15f11565405041d58e0db3a17dcaa08f1988 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期三, 18 五月 2022 16:47:04 +0800
Subject: [PATCH] 提交代码
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java | 6 +-
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsOrganizationController.java | 4 +-
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java | 10 ++--
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgNvrController.java | 12 +++---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java | 12 +++---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java | 4 +-
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevManufacturerController.java | 4 +-
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java | 10 ++--
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java | 12 +++---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java | 10 ++--
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java | 12 +++---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgSystemController.java | 10 ++--
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java | 10 ++--
13 files changed, 58 insertions(+), 58 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java
index f53caa4..1daae41 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java
@@ -81,7 +81,7 @@
* 鏂板寤虹瓚鍗曞厓
*/
@ApiOperation("鏂板寤虹瓚鍗曞厓")
-// @PreAuthorize("@ss.hasPermi('oa:building:add')")
+ @PreAuthorize("@ss.hasPermi('oa:building:add')")
@Log(title = "寤虹瓚鍗曞厓", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -93,7 +93,7 @@
* 淇敼寤虹瓚鍗曞厓
*/
@ApiOperation("淇敼寤虹瓚鍗曞厓")
-// @PreAuthorize("@ss.hasPermi('oa:building:edit')")
+ @PreAuthorize("@ss.hasPermi('oa:building:edit')")
@Log(title = "寤虹瓚鍗曞厓", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -105,7 +105,7 @@
* 鍒犻櫎寤虹瓚鍗曞厓
*/
@ApiOperation("鍒犻櫎寤虹瓚鍗曞厓")
-// @PreAuthorize("@ss.hasPermi('oa:building:remove')")
+ @PreAuthorize("@ss.hasPermi('oa:building:remove')")
@Log(title = "寤虹瓚鍗曞厓" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsOrganizationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsOrganizationController.java
index ba73ff0..ce0f034 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsOrganizationController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsOrganizationController.java
@@ -93,7 +93,7 @@
* 淇敼楂樻牎缁勭粐鏈烘瀯
*/
@ApiOperation("淇敼楂樻牎缁勭粐鏈烘瀯")
-// @PreAuthorize("@ss.hasPermi('oa:organization:edit')")
+ @PreAuthorize("@ss.hasPermi('oa:organization:edit')")
@Log(title = "楂樻牎缁勭粐鏈烘瀯", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -105,7 +105,7 @@
* 鍒犻櫎楂樻牎缁勭粐鏈烘瀯
*/
@ApiOperation("鍒犻櫎楂樻牎缁勭粐鏈烘瀯")
-// @PreAuthorize("@ss.hasPermi('oa:organization:remove')")
+ @PreAuthorize("@ss.hasPermi('oa:organization:remove')")
@Log(title = "楂樻牎缁勭粐鏈烘瀯" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevManufacturerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevManufacturerController.java
index 34553c9..66f8061 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevManufacturerController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevManufacturerController.java
@@ -48,7 +48,7 @@
* 鏌ヨ鍘傚晢鍒楄〃
*/
@ApiOperation("鏌ヨ鍘傚晢鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:manufacturer:list')")
+// @PreAuthorize("@ss.hasPermi('oa:manufacturer:list')")
@GetMapping("/list")
public TableDataInfo<DevManufacturerVo> list(@Validated(QueryGroup.class) DevManufacturerBo bo) {
return iDevManufacturerService.queryPageList(bo);
@@ -79,7 +79,7 @@
* 鑾峰彇鍘傚晢璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇鍘傚晢璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:manufacturer:query')")
+// @PreAuthorize("@ss.hasPermi('oa:manufacturer:query')")
@GetMapping("/{id}")
public AjaxResult<DevManufacturerVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java
index a5b996c..71a4be7 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java
@@ -49,7 +49,7 @@
*/
@ApiOperation("鏌ヨ澶栬鍗曞厓鍒楄〃")
@DataDictClass
- @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:list')")
+// @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:list')")
@GetMapping("/list")
public TableDataInfo<DevPeripheralUnitVo> list(@Validated(QueryGroup.class) DevPeripheralUnitBo bo) {
return iDevPeripheralUnitService.queryPageList(bo);
@@ -71,7 +71,7 @@
* 鑾峰彇澶栬鍗曞厓璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇澶栬鍗曞厓璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:info')")
+// @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:info')")
@DataDictClass
@GetMapping("/{id}")
public AjaxResult<DevPeripheralUnitVo> getInfo(@ApiParam("涓婚敭")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java
index e26f2b2..7126ada 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java
@@ -50,7 +50,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨAI璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:ai:list')")
+// @PreAuthorize("@ss.hasPermi('oa:ai:list')")
@GetMapping("/list")
public TableDataInfo<SgAiVo> list(@Validated(QueryGroup.class) SgAiBo bo) {
return iSgAiService.queryPageList(bo);
@@ -72,7 +72,7 @@
* 鑾峰彇AI璁惧璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇AI璁惧璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:ai:query')")
+// @PreAuthorize("@ss.hasPermi('oa:ai:query')")
@GetMapping("/{id}")
public AjaxResult<SgAiVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -84,7 +84,7 @@
* 鏂板AI璁惧
*/
@ApiOperation("鏂板AI璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ai:add')")
+// @PreAuthorize("@ss.hasPermi('oa:ai:add')")
@Log(title = "AI璁惧", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -96,7 +96,7 @@
* 淇敼AI璁惧
*/
@ApiOperation("淇敼AI璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ai:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:ai:edit')")
@Log(title = "AI璁惧", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -108,7 +108,7 @@
* 鍒犻櫎AI璁惧
*/
@ApiOperation("鍒犻櫎AI璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ai:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:ai:remove')")
@Log(title = "AI璁惧" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java
index 41fb561..cae88ed 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgConstructionBatchController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨ鏂藉伐鎵规鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:list')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:list')")
@GetMapping("/list")
public TableDataInfo<SgConstructionBatchVo> list(@Validated(QueryGroup.class) SgConstructionBatchBo bo) {
return iSgConstructionBatchService.queryPageList(bo);
@@ -59,7 +59,7 @@
* 瀵煎嚭鏂藉伐鎵规鍒楄〃
*/
@ApiOperation("瀵煎嚭鏂藉伐鎵规鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:export')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:export')")
@Log(title = "鏂藉伐鎵规", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public void export(@Validated SgConstructionBatchBo bo, HttpServletResponse response) {
@@ -71,7 +71,7 @@
* 鑾峰彇鏂藉伐鎵规璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇鏂藉伐鎵规璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:query')")
@GetMapping("/{id}")
public AjaxResult<SgConstructionBatchVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板鏂藉伐鎵规
*/
@ApiOperation("鏂板鏂藉伐鎵规")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:add')")
@Log(title = "鏂藉伐鎵规", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼鏂藉伐鎵规
*/
@ApiOperation("淇敼鏂藉伐鎵规")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:edit')")
@Log(title = "鏂藉伐鎵规", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎鏂藉伐鎵规
*/
@ApiOperation("鍒犻櫎鏂藉伐鎵规")
- @PreAuthorize("@ss.hasPermi('oa:constructionBatch:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:constructionBatch:remove')")
@Log(title = "鏂藉伐鎵规" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java
index 934e7e4..3f1160e 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨ浜ゆ崲璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:exchange:list')")
+// @PreAuthorize("@ss.hasPermi('oa:exchange:list')")
@GetMapping("/list")
public TableDataInfo<SgExchangeVo> list(@Validated(QueryGroup.class) SgExchangeBo bo) {
return iSgExchangeService.queryPageList(bo);
@@ -71,7 +71,7 @@
* 鑾峰彇浜ゆ崲璁惧璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇浜ゆ崲璁惧璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:exchange:query')")
+// @PreAuthorize("@ss.hasPermi('oa:exchange:query')")
@GetMapping("/{id}")
public AjaxResult<SgExchangeVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板浜ゆ崲璁惧
*/
@ApiOperation("鏂板浜ゆ崲璁惧")
- @PreAuthorize("@ss.hasPermi('oa:exchange:add')")
+// @PreAuthorize("@ss.hasPermi('oa:exchange:add')")
@Log(title = "浜ゆ崲璁惧", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼浜ゆ崲璁惧
*/
@ApiOperation("淇敼浜ゆ崲璁惧")
- @PreAuthorize("@ss.hasPermi('oa:exchange:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:exchange:edit')")
@Log(title = "浜ゆ崲璁惧", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎浜ゆ崲璁惧
*/
@ApiOperation("鍒犻櫎浜ゆ崲璁惧")
- @PreAuthorize("@ss.hasPermi('oa:exchange:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:exchange:remove')")
@Log(title = "浜ゆ崲璁惧" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java
index 393e4cf..6846dd3 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨIoT璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:iot:list')")
+// @PreAuthorize("@ss.hasPermi('oa:iot:list')")
@GetMapping("/list")
public TableDataInfo<SgIotVo> list(@Validated(QueryGroup.class) SgIotBo bo) {
return iSgIotService.queryPageList(bo);
@@ -80,7 +80,7 @@
* 鑾峰彇IoT璁惧璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇IoT璁惧璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:iot:query')")
+// @PreAuthorize("@ss.hasPermi('oa:iot:query')")
@GetMapping("/{id}")
public AjaxResult<SgIotVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -92,7 +92,7 @@
* 鏂板IoT璁惧
*/
@ApiOperation("鏂板IoT璁惧")
- @PreAuthorize("@ss.hasPermi('oa:iot:add')")
+// @PreAuthorize("@ss.hasPermi('oa:iot:add')")
@Log(title = "IoT璁惧", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -104,7 +104,7 @@
* 淇敼IoT璁惧
*/
@ApiOperation("淇敼IoT璁惧")
- @PreAuthorize("@ss.hasPermi('oa:iot:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:iot:edit')")
@Log(title = "IoT璁惧", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -116,7 +116,7 @@
* 鍒犻櫎IoT璁惧
*/
@ApiOperation("鍒犻櫎IoT璁惧")
- @PreAuthorize("@ss.hasPermi('oa:iot:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:iot:remove')")
@Log(title = "IoT璁惧" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java
index 37eaf43..1b14155 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java
@@ -53,7 +53,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨipc璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:ipc:list')")
+// @PreAuthorize("@ss.hasPermi('oa:ipc:list')")
@GetMapping("/list")
public TableDataInfo<SgIpcVo> list(@Validated(QueryGroup.class) SgIpcBo bo) {
return iSgIpcService.queryPageList(bo);
@@ -75,7 +75,7 @@
* 鑾峰彇ipc璁惧璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇ipc璁惧璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:ipc:query')")
+// @PreAuthorize("@ss.hasPermi('oa:ipc:query')")
@GetMapping("/{id}")
public AjaxResult<SgIpcVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -100,7 +100,7 @@
* 鏂板ipc璁惧
*/
@ApiOperation("鏂板ipc璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ipc:add')")
+// @PreAuthorize("@ss.hasPermi('oa:ipc:add')")
@Log(title = "ipc璁惧", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -112,7 +112,7 @@
* 淇敼ipc璁惧
*/
@ApiOperation("淇敼ipc璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ipc:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:ipc:edit')")
@Log(title = "ipc璁惧", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -124,7 +124,7 @@
* 鍒犻櫎ipc璁惧
*/
@ApiOperation("鍒犻櫎ipc璁惧")
- @PreAuthorize("@ss.hasPermi('oa:ipc:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:ipc:remove')")
@Log(title = "ipc璁惧" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgNvrController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgNvrController.java
index 1436702..1ad6a9e 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgNvrController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgNvrController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨNVR璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:nvr:list')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:list')")
@GetMapping("/list")
public TableDataInfo<SgNvrVo> list(@Validated(QueryGroup.class) SgNvrBo bo) {
return iSgNvrService.queryPageList(bo);
@@ -59,7 +59,7 @@
* 瀵煎嚭NVR璁惧鍒楄〃
*/
@ApiOperation("瀵煎嚭NVR璁惧鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:nvr:export')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:export')")
@Log(title = "NVR璁惧", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public void export(@Validated SgNvrBo bo, HttpServletResponse response) {
@@ -71,7 +71,7 @@
* 鑾峰彇NVR璁惧璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇NVR璁惧璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:nvr:query')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:query')")
@GetMapping("/{id}")
public AjaxResult<SgNvrVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板NVR璁惧
*/
@ApiOperation("鏂板NVR璁惧")
- @PreAuthorize("@ss.hasPermi('oa:nvr:add')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:add')")
@Log(title = "NVR璁惧", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼NVR璁惧
*/
@ApiOperation("淇敼NVR璁惧")
- @PreAuthorize("@ss.hasPermi('oa:nvr:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:edit')")
@Log(title = "NVR璁惧", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎NVR璁惧
*/
@ApiOperation("鍒犻櫎NVR璁惧")
- @PreAuthorize("@ss.hasPermi('oa:nvr:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:nvr:remove')")
@Log(title = "NVR璁惧" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java
index 43c0077..20c3953 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨ棰勭暀IP鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')")
@GetMapping("/list")
public TableDataInfo<SgReserveIpVo> list(@Validated(QueryGroup.class) SgReserveIpBo bo) {
return iSgReserveIpService.queryPageList(bo);
@@ -59,7 +59,7 @@
* 瀵煎嚭棰勭暀IP鍒楄〃
*/
@ApiOperation("瀵煎嚭棰勭暀IP鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')")
@Log(title = "棰勭暀IP", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public void export(@Validated SgReserveIpBo bo, HttpServletResponse response) {
@@ -71,7 +71,7 @@
* 鑾峰彇棰勭暀IP璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇棰勭暀IP璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')")
@GetMapping("/{id}")
public AjaxResult<SgReserveIpVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板棰勭暀IP
*/
@ApiOperation("鏂板棰勭暀IP")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')")
@Log(title = "棰勭暀IP", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼棰勭暀IP
*/
@ApiOperation("淇敼棰勭暀IP")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')")
@Log(title = "棰勭暀IP", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎棰勭暀IP
*/
@ApiOperation("鍒犻櫎棰勭暀IP")
- @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')")
@Log(title = "棰勭暀IP" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java
index 123b416..740a98d 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨ鏈嶅姟鍣ㄥ垪琛�")
- @PreAuthorize("@ss.hasPermi('oa:server:list')")
+// @PreAuthorize("@ss.hasPermi('oa:server:list')")
@GetMapping("/list")
public TableDataInfo<SgServerVo> list(@Validated(QueryGroup.class) SgServerBo bo) {
return iSgServerService.queryPageList(bo);
@@ -59,7 +59,7 @@
* 瀵煎嚭鏈嶅姟鍣ㄥ垪琛�
*/
@ApiOperation("瀵煎嚭鏈嶅姟鍣ㄥ垪琛�")
- @PreAuthorize("@ss.hasPermi('oa:server:export')")
+// @PreAuthorize("@ss.hasPermi('oa:server:export')")
@Log(title = "鏈嶅姟鍣�", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public void export(@Validated SgServerBo bo, HttpServletResponse response) {
@@ -71,7 +71,7 @@
* 鑾峰彇鏈嶅姟鍣ㄨ缁嗕俊鎭�
*/
@ApiOperation("鑾峰彇鏈嶅姟鍣ㄨ缁嗕俊鎭�")
- @PreAuthorize("@ss.hasPermi('oa:server:query')")
+// @PreAuthorize("@ss.hasPermi('oa:server:query')")
@GetMapping("/{id}")
public AjaxResult<SgServerVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板鏈嶅姟鍣�
*/
@ApiOperation("鏂板鏈嶅姟鍣�")
- @PreAuthorize("@ss.hasPermi('oa:server:add')")
+// @PreAuthorize("@ss.hasPermi('oa:server:add')")
@Log(title = "鏈嶅姟鍣�", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼鏈嶅姟鍣�
*/
@ApiOperation("淇敼鏈嶅姟鍣�")
- @PreAuthorize("@ss.hasPermi('oa:server:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:server:edit')")
@Log(title = "鏈嶅姟鍣�", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎鏈嶅姟鍣�
*/
@ApiOperation("鍒犻櫎鏈嶅姟鍣�")
- @PreAuthorize("@ss.hasPermi('oa:server:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:server:remove')")
@Log(title = "鏈嶅姟鍣�" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgSystemController.java
index d714e15..8ab89a4 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgSystemController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgSystemController.java
@@ -49,7 +49,7 @@
*/
@DataDictClass
@ApiOperation("鏌ヨ杞欢绯荤粺鍒楄〃")
- @PreAuthorize("@ss.hasPermi('oa:system:list')")
+// @PreAuthorize("@ss.hasPermi('oa:system:list')")
@GetMapping("/list")
public TableDataInfo<SgSystemVo> list(@Validated(QueryGroup.class) SgSystemBo bo) {
return iSgSystemService.queryPageList(bo);
@@ -71,7 +71,7 @@
* 鑾峰彇杞欢绯荤粺璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇杞欢绯荤粺璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('oa:system:query')")
+// @PreAuthorize("@ss.hasPermi('oa:system:query')")
@GetMapping("/{id}")
public AjaxResult<SgSystemVo> getInfo(@ApiParam("涓婚敭")
@NotNull(message = "涓婚敭涓嶈兘涓虹┖")
@@ -83,7 +83,7 @@
* 鏂板杞欢绯荤粺
*/
@ApiOperation("鏂板杞欢绯荤粺")
- @PreAuthorize("@ss.hasPermi('oa:system:add')")
+// @PreAuthorize("@ss.hasPermi('oa:system:add')")
@Log(title = "杞欢绯荤粺", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -95,7 +95,7 @@
* 淇敼杞欢绯荤粺
*/
@ApiOperation("淇敼杞欢绯荤粺")
- @PreAuthorize("@ss.hasPermi('oa:system:edit')")
+// @PreAuthorize("@ss.hasPermi('oa:system:edit')")
@Log(title = "杞欢绯荤粺", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -107,7 +107,7 @@
* 鍒犻櫎杞欢绯荤粺
*/
@ApiOperation("鍒犻櫎杞欢绯荤粺")
- @PreAuthorize("@ss.hasPermi('oa:system:remove')")
+// @PreAuthorize("@ss.hasPermi('oa:system:remove')")
@Log(title = "杞欢绯荤粺" , businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�")
--
Gitblit v1.9.1