MrShi
2024-03-20 8e21ba0b722a442c612459deef502d13d639c382
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")