sort desc

This commit is contained in:
mamoss 2025-03-27 05:24:33 +07:00
parent 48737c094e
commit 274cdc27d7

View file

@ -7568,11 +7568,11 @@ export class OrganizationController extends Controller {
select: ["orgRootName"],
});
const posType = await this.posTypeRepository.find({
order: { posTypeRank: "ASC" },
order: { posTypeRank: "DESC" },
select: ["posTypeName"],
});
const posLevel = await this.posLevelRepository.find({
order: { posLevelRank: "ASC" },
order: { posLevelRank: "DESC" },
select: ["posLevelName"],
});
return new HttpSuccess({