migrate view #2109
This commit is contained in:
parent
84f14466c7
commit
878e52b1b0
3 changed files with 165 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ import { ViewColumn, ViewEntity } from "typeorm";
|
|||
posMaster.orgChild2Id AS orgChild2Id,
|
||||
posMaster.orgChild3Id AS orgChild3Id,
|
||||
posMaster.orgChild4Id AS orgChild4Id,
|
||||
posMaster.positionSign AS positionSign,
|
||||
CONCAT(posMaster.id, profile.id) AS \`key\`,
|
||||
(
|
||||
SELECT hrms_organization.acting.actFullNameKeycloakId
|
||||
|
|
@ -147,4 +148,6 @@ export class viewDirector {
|
|||
actFullName: string;
|
||||
@ViewColumn()
|
||||
key: string;
|
||||
@ViewColumn()
|
||||
positionSign: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue