sort สำนัก
This commit is contained in:
parent
d4dffef020
commit
494044773b
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ export class PermissionOrgController extends Controller {
|
||||||
|
|
||||||
const data = await this.orgRootRepository.find({
|
const data = await this.orgRootRepository.find({
|
||||||
where: { orgRevisionId: orgRevisionActive.id },
|
where: { orgRevisionId: orgRevisionActive.id },
|
||||||
|
order: {
|
||||||
|
orgRootOrder: "ASC",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
return new HttpSuccess(data);
|
return new HttpSuccess(data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue