忽略租户

master
zzy 2026-04-26 22:39:27 +08:00
parent 2d123c5485
commit e6c1475c8d
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package com.fjrcloud.community.module.community.controller.app.house;
import com.fjrcloud.community.framework.common.pojo.CommonResult;
import com.fjrcloud.community.framework.tenant.core.aop.TenantIgnore;
import com.fjrcloud.community.module.community.controller.app.house.vo.HouseTreeNodeVO;
import com.fjrcloud.community.module.community.service.house.HouseService;
import io.swagger.v3.oas.annotations.Operation;
@ -31,6 +32,7 @@ public class AppHouseController {
@GetMapping("/tree")
@Operation(summary = "获取小区房屋级联树(楼号-单元-房号)")
@Parameter(name = "communityId", description = "小区ID", required = true, example = "1")
@TenantIgnore
public CommonResult<List<HouseTreeNodeVO>> getHouseTree(@RequestParam("communityId") Long communityId) {
return success(houseService.getHouseTreeByCommunityId(communityId));
}