| | |
| | | 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')") |