fix bug ระบบทดลองปฏิบัติหน้าที่ราชการ #863

This commit is contained in:
Bright 2024-12-18 17:14:30 +07:00
parent ce86d800a7
commit 9d46cd2e78
3 changed files with 112 additions and 44 deletions

View file

@ -27,8 +27,11 @@ import { ViewColumn, ViewEntity } from "typeorm";
\`posMaster\`.\`orgChild3Id\` AS \`orgChild3Id\`,
\`posMaster\`.\`orgChild4Id\` AS \`orgChild4Id\`,
CONCAT(\`posMaster\`.\`id\`, \`profile\`.\`id\`) AS \`key\`,
NULL AS \`actFullNameId\`,
NULL AS \`actFullName\`
\`profile\`.\`id\` AS \`actFullNameId\`,
CONCAT(\`profile\`.\`prefix\`,
\`profile\`.\`firstName\`,
' ',
\`profile\`.\`lastName\`) AS \`actFullName\`
FROM
((((((((((\`posMaster\`
JOIN \`profile\` ON ((\`posMaster\`.\`current_holderId\` = \`profile\`.\`id\`)))