From afa8fc57084c423218c6816b710dfb2f0b87ea89 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 14 十一月 2024 15:55:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/TenantController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/TenantController.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/TenantController.java index eebfc3b..1e0aede 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/TenantController.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/tenant/TenantController.java @@ -95,6 +95,14 @@ return success(BeanUtils.toBean(pageResult, TenantRespVO.class)); } + @GetMapping("/simple-list") + @Operation(summary = "获得租户精简列表") + @PreAuthorize("@ss.hasPermission('system:tenant:query')") + public CommonResult<List<TenantSimpleRespVO>> getSimpleTenant() { + List<TenantDO> listResult = tenantService.getSimpleTenant(); + return success(BeanUtils.toBean(listResult, TenantSimpleRespVO.class)); + } + @GetMapping("/export-excel") @Operation(summary = "导出租户 Excel") @PreAuthorize("@ss.hasPermission('system:tenant:export')") -- Gitblit v1.9.3