migrate view #2109

This commit is contained in:
harid 2025-12-09 18:16:46 +07:00
parent 84f14466c7
commit 878e52b1b0
3 changed files with 165 additions and 0 deletions

View file

@ -30,6 +30,7 @@ import { ViewColumn, ViewEntity } from "typeorm";
\`posMaster\`.\`orgChild2Id\` AS \`orgChild2Id\`,
\`posMaster\`.\`orgChild3Id\` AS \`orgChild3Id\`,
\`posMaster\`.\`orgChild4Id\` AS \`orgChild4Id\`,
\`posMaster\`.\`positionSign\` AS \`positionSign\`,
CONCAT(\`hrms_organization\`.\`posMaster\`.\`id\`,
\`profileChild\`.\`id\`) AS \`key\`,
\`hrms_organization\`.\`profile\`.\`id\` AS \`actFullNameId\`,
@ -123,4 +124,6 @@ export class viewDirectorActing {
actFullName: string;
@ViewColumn()
key: string;
@ViewColumn()
positionSign: string;
}