add Officer view
This commit is contained in:
parent
99c1ead9a1
commit
debf24e5bc
3 changed files with 25 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ import { ViewColumn, ViewEntity } from "typeorm";
|
|||
\`posType\`.\`posTypeName\` AS \`posType\`,
|
||||
\`posExecutive\`.\`posExecutiveName\` AS \`posExecutiveName\`,
|
||||
\`orgRoot\`.\`isDeputy\` AS \`isDeputy\`,
|
||||
\`orgChild1\`.\`isOfficer\` AS \`isOfficer\`,
|
||||
\`posMaster\`.\`orgRootId\` AS \`orgRootId\`,
|
||||
\`posMaster\`.\`orgChild1Id\` AS \`orgChild1Id\`,
|
||||
\`posMaster\`.\`orgChild2Id\` AS \`orgChild2Id\`,
|
||||
|
|
@ -78,6 +79,8 @@ export class viewDirectorActing {
|
|||
@ViewColumn()
|
||||
isDeputy: boolean;
|
||||
@ViewColumn()
|
||||
isOfficer: boolean;
|
||||
@ViewColumn()
|
||||
isDirectorChild: boolean;
|
||||
@ViewColumn()
|
||||
orgRootId: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue