From 662729440051f2561f83b795905fcbf50e22b039 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期五, 28 二月 2025 13:45:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TItemController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TItemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TItemController.java index b9cfe64..e201e93 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TItemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TItemController.java @@ -40,7 +40,7 @@ /** * 获取维修物品管理列表 */ - @PreAuthorize("@ss.hasPermi('system:item:list')") + @PreAuthorize("@ss.hasPermi('houseManage:list:list')") @ApiOperation(value = "获取维修物品分页列表") @PostMapping(value = "/pageList") public R<PageInfo<TItemVO>> pageList(@RequestBody TItemQuery query) { @@ -50,7 +50,7 @@ /** * 添加维修物品管理 */ - @PreAuthorize("@ss.hasPermi('system:item:add')") + @PreAuthorize("@ss.hasPermi('houseManage:list:add')") @Log(title = "维修物品信息-新增维修物品", businessType = BusinessType.INSERT) @ApiOperation(value = "添加维修物品") @PostMapping(value = "/add") @@ -61,7 +61,7 @@ /** * 修改维修物品 */ - @PreAuthorize("@ss.hasPermi('system:item:update')") + @PreAuthorize("@ss.hasPermi('houseManage:list:edit')") @Log(title = "维修物品信息-修改维修物品", businessType = BusinessType.UPDATE) @ApiOperation(value = "修改维修物品") @PostMapping(value = "/update") @@ -82,7 +82,7 @@ /** * 删除维修物品 */ - @PreAuthorize("@ss.hasPermi('system:item:delete')") + @PreAuthorize("@ss.hasPermi('houseManage:list:delete')") @Log(title = "维修物品信息-删除维修物品", businessType = BusinessType.DELETE) @ApiOperation(value = "删除维修物品") @DeleteMapping(value = "/deleteById") @@ -93,7 +93,7 @@ /** * 批量删除维修物品 */ - @PreAuthorize("@ss.hasPermi('system:item:delete')") + @PreAuthorize("@ss.hasPermi('houseManage:list:delete')") @Log(title = "维修物品信息-删除维修物品", businessType = BusinessType.DELETE) @ApiOperation(value = "批量删除维修物品") @DeleteMapping(value = "/deleteByIds") -- Gitblit v1.7.1