From 8e21ba0b722a442c612459deef502d13d639c382 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 20 三月 2024 09:31:26 +0800
Subject: [PATCH] mrshi
---
server/dmvisit_admin/src/main/java/com/doumee/api/business/DeviceRoleController.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/server/dmvisit_admin/src/main/java/com/doumee/api/business/DeviceRoleController.java b/server/dmvisit_admin/src/main/java/com/doumee/api/business/DeviceRoleController.java
index 2a2f474..42eb3cc 100644
--- a/server/dmvisit_admin/src/main/java/com/doumee/api/business/DeviceRoleController.java
+++ b/server/dmvisit_admin/src/main/java/com/doumee/api/business/DeviceRoleController.java
@@ -67,6 +67,14 @@
return ApiResponse.success(null);
}
+ @ApiOperation("鏍规嵁ID淇敼榛樿闂ㄧ缁勭姸鎬�")
+ @PostMapping("/updateStatusById")
+ @RequiresPermissions("business:devicerole:update")
+ public ApiResponse updateStatusById(@RequestBody DeviceRole deviceRole) {
+ deviceRoleService.updateStatusById(deviceRole);
+ return ApiResponse.success(null);
+ }
+
@ApiOperation("鍒嗛〉鏌ヨ")
@PostMapping("/page")
@RequiresPermissions("business:devicerole:query")
--
Gitblit v1.9.3