| | |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "树形结构", notes = "树形结构") |
| | | public R<List<JurisdictionVO>> tree(String tenantId, BladeUser bladeUser) { |
| | | tenantId = "000000"; |
| | | List<JurisdictionVO> tree = jurisdictionService.tree(Func.toStrWithEmpty(tenantId, bladeUser.getTenantId())); |
| | | return R.data(tree); |
| | | } |
| | |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "懒加载树形结构", notes = "树形结构") |
| | | public R<List<JurisdictionVO>> lazyTree(String tenantId, Long parentId, BladeUser bladeUser) { |
| | | bladeUser.setTenantId("000000"); |
| | | List<JurisdictionVO> tree = jurisdictionService.lazyTree(Func.toStrWithEmpty(tenantId, bladeUser.getTenantId()), parentId); |
| | | return R.data(tree); |
| | | } |