From ef7506eb3af65ad2c054ed4e44b24fc297790a61 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 28 二月 2025 11:51:46 +0800
Subject: [PATCH] 权限

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCheckAcceptRecordController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCheckAcceptRecordController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCheckAcceptRecordController.java
index 95d749e..ab20a9b 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCheckAcceptRecordController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCheckAcceptRecordController.java
@@ -58,7 +58,7 @@
     /**
      * 获取验收记录管理列表
      */
-    @PreAuthorize("@ss.hasPermi('system:accept:list')")
+    @PreAuthorize("@ss.hasPermi('houseManage:check:list')")
     @ApiOperation(value = "获取验收记录分页列表")
     @PostMapping(value = "/pageList")
     public R<PageInfo<TCheckAcceptRecordVO>> pageList(@RequestBody TCheckAcceptRecordQuery query) {
@@ -93,7 +93,7 @@
     /**
      * 添加验收记录管理
      */
-    @PreAuthorize("@ss.hasPermi('system:accept:add')")
+    @PreAuthorize("@ss.hasPermi('houseManage:check:add')")
     @Log(title = "验收记录信息-新增验收记录", businessType = BusinessType.INSERT)
     @ApiOperation(value = "添加验收记录")
     @PostMapping(value = "/add")
@@ -126,7 +126,7 @@
     /**
      * 查看验收记录详情
      */
-    @PreAuthorize("@ss.hasPermi('system:accept:detail')")
+    @PreAuthorize("@ss.hasPermi('houseManage:check:detail')")
     @ApiOperation(value = "查看验收记录详情")
     @GetMapping(value = "/getDetailById")
     public R<TCheckAcceptRecordVO> getDetailById(@RequestParam String id) {
@@ -143,7 +143,7 @@
     /**
      * 删除验收记录
      */
-    @PreAuthorize("@ss.hasPermi('system:accept:delete')")
+    @PreAuthorize("@ss.hasPermi('houseManage:check:delete')")
     @Log(title = "验收记录信息-删除验收记录", businessType = BusinessType.DELETE)
     @ApiOperation(value = "删除验收记录")
     @DeleteMapping(value = "/deleteById")
@@ -154,7 +154,7 @@
     /**
      * 批量删除验收记录
      */
-    @PreAuthorize("@ss.hasPermi('system:accept:delete')")
+    @PreAuthorize("@ss.hasPermi('houseManage:check:delete')")
     @Log(title = "验收记录信息-删除验收记录", businessType = BusinessType.DELETE)
     @ApiOperation(value = "批量删除验收记录")
     @DeleteMapping(value = "/deleteByIds")

--
Gitblit v1.7.1