รายงานทะเบียนประวัติ

This commit is contained in:
Bright 2025-02-19 15:20:18 +07:00
parent d0732a87e3
commit 13a7ccc997
6 changed files with 698 additions and 192 deletions

View file

@ -53,6 +53,7 @@ import { ViewColumn, ViewEntity } from "typeorm";
ORDER BY ed.level ASC
)
SELECT
p.id as profileEmployeeId,
p.citizenId,
p.prefix,
p.firstName,
@ -97,6 +98,9 @@ import { ViewColumn, ViewEntity } from "typeorm";
`,
})
export class viewRegistryEmployee {
@ViewColumn()
profileEmployeeId: string;
@ViewColumn()
citizenId: string;

View file

@ -57,6 +57,7 @@ import { ViewColumn, ViewEntity } from "typeorm";
ORDER BY ed.level ASC
)
SELECT
p.id as profileId,
p.citizenId,
p.prefix,
p.firstName,
@ -103,7 +104,10 @@ import { ViewColumn, ViewEntity } from "typeorm";
})
export class viewRegistryOfficer {
@ViewColumn()
id: string;
profileId: string;
@ViewColumn()
citizenId: string;
@ViewColumn()
prefix: string;