feat(REQ-3282): 调整单位请求代码
This commit is contained in:
parent
8b316785dc
commit
5da5901848
@ -36,7 +36,7 @@ public class UnitGateway {
|
|||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
PageResp<OrgUnitResp> page = BizAssertions.assertResponse(orgUnitApi.page(OrgUnitPageQueryReq.builder()
|
PageResp<OrgUnitResp> page = BizAssertions.assertResponse(orgUnitApi.page(OrgUnitPageQueryReq.builder()
|
||||||
.pageSize(Integer.MAX_VALUE)
|
.pageSize(Integer.MAX_VALUE)
|
||||||
.unitIds(Sets.newHashSet(ouIds))
|
.ids(Sets.newHashSet(ouIds))
|
||||||
.build()));
|
.build()));
|
||||||
return page.getData() == null ? Collections.emptyList() : page.getData();
|
return page.getData() == null ? Collections.emptyList() : page.getData();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user