From 9fe91ce49c6de5a5e80e2f3b00b2ec56e90bd5fd Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 21 May 2026 10:53:45 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=95=E0=B8=B1=E0=B8=94=E0=B8=9F=E0=B8=B4?= =?UTF-8?q?=E0=B8=A5=E0=B8=94=E0=B9=8C=E0=B8=8B=E0=B9=89=E0=B8=B3=E0=B9=81?= =?UTF-8?q?=E0=B8=A5=E0=B8=B0=E0=B8=9F=E0=B8=B4=E0=B8=A5=E0=B8=94=E0=B9=8C?= =?UTF-8?q?=20id=20=E0=B8=AD=E0=B8=AD=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ApiManageController.ts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/controllers/ApiManageController.ts b/src/controllers/ApiManageController.ts index 01a27eb5..8caad7fd 100644 --- a/src/controllers/ApiManageController.ts +++ b/src/controllers/ApiManageController.ts @@ -325,7 +325,28 @@ export class ApiManageController extends Controller { ]; private readonly DEFAULT_PAGE_SIZE = 10; // ขนาดหน้าเริ่มต้น - private readonly EXCLUDED_COLUMNS = ["createdUserId", "lastUpdateUserId"]; // ฟิลด์ที่ไม่ต้องการแสดงในผลลัพธ์ + private readonly EXCLUDED_COLUMNS = [ + "createdUserId", + "lastUpdateUserId", + "createdAt", + "createdFullName", + "lastUpdateFullName", + "avatarName", + "profileId", + "prefixId", + "profileEmployeeId", + "documentId", + "orgRevisionId", + "posMasterId", + "orgRootId", + "orgChild1Id", + "orgChild2Id", + "orgChild3Id", + "orgChild4Id", + "ancestorDNA", + "keycloak", + "commandId", + ]; // ฟิลด์ที่ไม่ต้องการแสดงในผลลัพธ์ private validateSuperAdminRole(user: any): void { if (!user.role.includes("SUPER_ADMIN")) {