sort ปลัด

This commit is contained in:
mamoss 2025-03-27 03:24:53 +07:00
parent a78c81ca90
commit 8fc10639f5

View file

@ -7564,7 +7564,7 @@ export class OrganizationController extends Controller {
where: {
orgRevision: { orgRevisionIsDraft: false, orgRevisionIsCurrent: true },
},
order: { isDeputy: "DESC", orgRootOrder: "ASC" },
order: { isDeputy: "ASC", orgRootOrder: "ASC" },
select: ["orgRootName"],
});
const posType = await this.posTypeRepository.find({