From 79d10b12e3a9104cecb9be97ea5444a5cf26409e Mon Sep 17 00:00:00 2001 From: moss <> Date: Thu, 1 May 2025 09:48:03 +0700 Subject: [PATCH] =?UTF-8?q?snap=20=E0=B8=9A=E0=B8=B2=E0=B8=87=E0=B8=AA?= =?UTF-8?q?=E0=B8=B3=E0=B8=99=E0=B8=B1=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/SalaryPeriodController.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/controllers/SalaryPeriodController.ts b/src/controllers/SalaryPeriodController.ts index 7389d2e..12bdf80 100644 --- a/src/controllers/SalaryPeriodController.ts +++ b/src/controllers/SalaryPeriodController.ts @@ -2555,7 +2555,16 @@ export class SalaryPeriodController extends Controller { await this.salaryOrgEmployeeRepository.remove(salaryOrgEmployee, { data: request }); let orgs = await new CallAPI().GetData(request, "/org/unauthorize/active/root/id"); //snap บางสำนัก - orgs = orgs.filter((x: any) => x.rootId.includes(["d7e98989-b5ce-47d6-93c3-ab63ed486348"])); + orgs = orgs.filter((x: any) => + x.rootId.includes([ + "d7e98989-b5ce-47d6-93c3-ab63ed486348", + "e0545eca-5d0a-4a1c-8bbd-e3e25c2521db", + "7ff1fbf2-cc9e-4f53-b83c-334967c27967", + "26989ffa-d5ab-4bbd-ac97-130646cd1da6", + "6f9b30e1-757a-40d5-b053-61eb1b91c0f0", + "eaf65f33-25e9-4956-9dba-5d909f5eb595", + ]), + ); let total = 1000; // let _orgProfiles = await new CallAPI().PostData(request, "/org/unauthorize/salary/gen", {