From 4c28d43b47843d9ece221ecfeaa16acc76252147 Mon Sep 17 00:00:00 2001 From: kittapath Date: Thu, 20 Feb 2025 11:56:07 +0700 Subject: [PATCH] no message --- src/controllers/OrganizationController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index a1eb866b..962fc8f1 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -6234,7 +6234,7 @@ export class OrganizationController extends Controller { }, }, }); - const data = rawData.map(item => ({ + const data = rawData.map((item) => ({ ...item, orgRootCode: item.orgRootCode + "00", })); @@ -8041,6 +8041,7 @@ export class OrganizationController extends Controller { orgRevision: { orgRevisionIsDraft: false, orgRevisionIsCurrent: true }, orgRoot: { isCommission: true }, isDirector: true, + current_holderId: Not(IsNull()), }, order: { posMasterOrder: "ASC", posMasterActChilds: { posMasterOrder: "ASC" } }, relations: [