no message
This commit is contained in:
parent
d458240b2b
commit
b5506eec04
1 changed files with 8 additions and 1 deletions
|
|
@ -5478,7 +5478,14 @@ export class OrganizationController extends Controller {
|
||||||
switch (requestBody.node) {
|
switch (requestBody.node) {
|
||||||
case 0: {
|
case 0: {
|
||||||
const data = await this.orgRootRepository.find({
|
const data = await this.orgRootRepository.find({
|
||||||
where: { id: requestBody.nodeId ?? "", orgRootRankSub: In(orgRootRankSub) },
|
where: {
|
||||||
|
id: requestBody.nodeId ?? "",
|
||||||
|
orgRootRankSub: In(orgRootRankSub),
|
||||||
|
orgRevision: {
|
||||||
|
orgRevisionIsCurrent: true,
|
||||||
|
orgRevisionIsDraft: false,
|
||||||
|
}
|
||||||
|
},
|
||||||
});
|
});
|
||||||
return new HttpSuccess(
|
return new HttpSuccess(
|
||||||
data.map((y) => ({
|
data.map((y) => ({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue