From d458629e487e1ea37d4d56bc2b70d8097dbfbf8b Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 9 Jan 2025 17:00:27 +0700 Subject: [PATCH] revert --- src/entities/view/viewDirector.ts | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/entities/view/viewDirector.ts b/src/entities/view/viewDirector.ts index 2a25cf28..55637e6c 100644 --- a/src/entities/view/viewDirector.ts +++ b/src/entities/view/viewDirector.ts @@ -27,16 +27,11 @@ import { ViewColumn, ViewEntity } from "typeorm"; \`posMaster\`.\`orgChild3Id\` AS \`orgChild3Id\`, \`posMaster\`.\`orgChild4Id\` AS \`orgChild4Id\`, CONCAT(\`posMaster\`.\`id\`, \`profile\`.\`id\`) AS \`key\`, - (SELECT \`profileChild\`.\`id\` - FROM \`posMasterAct\` - JOIN \`posMaster\` \`posMasterChild\` ON \`posMasterAct\`.\`posMasterChildId\` = \`posMasterChild\`.\`id\` - JOIN \`profile\` \`profileChild\` ON \`posMasterChild\`.\`current_holderId\` = \`profileChild\`.\`id\` - WHERE \`posMaster\`.\`id\` = \`posMasterAct\`.\`posMasterId\` LIMIT 1) AS \`actFullNameId\`, - (SELECT CONCAT(\`profileChild\`.\`prefix\`, \`profileChild\`.\`firstName\`, ' ', \`profileChild\`.\`lastName\`) - FROM \`posMasterAct\` - JOIN \`posMaster\` \`posMasterChild\` ON \`posMasterAct\`.\`posMasterChildId\` = \`posMasterChild\`.\`id\` - JOIN \`profile\` \`profileChild\` ON \`posMasterChild\`.\`current_holderId\` = \`profileChild\`.\`id\` - WHERE \`posMaster\`.\`id\` = \`posMasterAct\`.\`posMasterId\` LIMIT 1) AS \`actFullName\` + \`profile\`.\`id\` AS \`actFullNameId\`, + CONCAT(\`profile\`.\`prefix\`, + \`profile\`.\`firstName\`, + ' ', + \`profile\`.\`lastName\`) AS \`actFullName\` FROM ((((((((((\`posMaster\`