sort สำนัก

This commit is contained in:
kittapath 2024-09-11 09:49:40 +07:00
parent d4dffef020
commit 494044773b

View file

@ -60,6 +60,9 @@ export class PermissionOrgController extends Controller {
const data = await this.orgRootRepository.find({
where: { orgRevisionId: orgRevisionActive.id },
order: {
orgRootOrder: "ASC",
},
});
return new HttpSuccess(data);
}