忽略租户
parent
e6c1475c8d
commit
36a77d98b3
|
|
@ -30,6 +30,7 @@ public class AppMemberHouseController {
|
||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建业主认证")
|
@Operation(summary = "创建业主认证")
|
||||||
|
@TenantIgnore
|
||||||
public CommonResult<Long> createMemberHouse(@Valid @RequestBody AppMemberHouseSaveReqVO createReqVO) {
|
public CommonResult<Long> createMemberHouse(@Valid @RequestBody AppMemberHouseSaveReqVO createReqVO) {
|
||||||
Long memberId = SecurityFrameworkUtils.getLoginUserId();
|
Long memberId = SecurityFrameworkUtils.getLoginUserId();
|
||||||
return success(memberHouseService.createMemberHouseForApp(memberId, createReqVO));
|
return success(memberHouseService.createMemberHouseForApp(memberId, createReqVO));
|
||||||
|
|
@ -37,6 +38,7 @@ public class AppMemberHouseController {
|
||||||
|
|
||||||
@GetMapping("/my-list")
|
@GetMapping("/my-list")
|
||||||
@Operation(summary = "获取我的房屋认证列表")
|
@Operation(summary = "获取我的房屋认证列表")
|
||||||
|
@TenantIgnore
|
||||||
public CommonResult<List<AppMemberHouseRespVO>> getMyHouseList() {
|
public CommonResult<List<AppMemberHouseRespVO>> getMyHouseList() {
|
||||||
Long memberId = SecurityFrameworkUtils.getLoginUserId();
|
Long memberId = SecurityFrameworkUtils.getLoginUserId();
|
||||||
List<AppMemberHouseRespVO> respVOList = memberHouseService.getMemberHouseListByMemberId(memberId);
|
List<AppMemberHouseRespVO> respVOList = memberHouseService.getMemberHouseListByMemberId(memberId);
|
||||||
|
|
@ -49,6 +51,7 @@ public class AppMemberHouseController {
|
||||||
|
|
||||||
@GetMapping("/relation-list")
|
@GetMapping("/relation-list")
|
||||||
@Operation(summary = "获取房屋关联人员列表")
|
@Operation(summary = "获取房屋关联人员列表")
|
||||||
|
@TenantIgnore
|
||||||
@Parameter(name = "houseId", description = "房屋ID", required = true, example = "1")
|
@Parameter(name = "houseId", description = "房屋ID", required = true, example = "1")
|
||||||
public CommonResult<List<AppMemberRelationRespVO>> getRelationList(
|
public CommonResult<List<AppMemberRelationRespVO>> getRelationList(
|
||||||
@RequestParam("houseId") Long houseId) {
|
@RequestParam("houseId") Long houseId) {
|
||||||
|
|
@ -57,6 +60,7 @@ public class AppMemberHouseController {
|
||||||
|
|
||||||
@DeleteMapping("/unbind")
|
@DeleteMapping("/unbind")
|
||||||
@Operation(summary = "解除绑定")
|
@Operation(summary = "解除绑定")
|
||||||
|
@TenantIgnore
|
||||||
@Parameter(name = "id", description = "认证记录ID", required = true, example = "1")
|
@Parameter(name = "id", description = "认证记录ID", required = true, example = "1")
|
||||||
public CommonResult<Boolean> unbindMemberHouse(@RequestParam("id") Long id) {
|
public CommonResult<Boolean> unbindMemberHouse(@RequestParam("id") Long id) {
|
||||||
memberHouseService.unbindMemberHouse(id);
|
memberHouseService.unbindMemberHouse(id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue