From b5e40cb127923bea9ad43f4512e1779537c809bd Mon Sep 17 00:00:00 2001 From: mamoss <> Date: Wed, 19 Mar 2025 10:11:35 +0700 Subject: [PATCH] add fild current --- src/controllers/EmployeePositionController.ts | 1 + src/controllers/EmployeeTempPositionController.ts | 1 + src/controllers/PositionController.ts | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/controllers/EmployeePositionController.ts b/src/controllers/EmployeePositionController.ts index 59377d32..e4cec3e6 100644 --- a/src/controllers/EmployeePositionController.ts +++ b/src/controllers/EmployeePositionController.ts @@ -1233,6 +1233,7 @@ export class EmployeePositionController extends Controller { return { id: posMaster.id, + current_holderId: posMaster.current_holderId, orgRootId: posMaster.orgRootId, orgChild1Id: posMaster.orgChild1Id, orgChild2Id: posMaster.orgChild2Id, diff --git a/src/controllers/EmployeeTempPositionController.ts b/src/controllers/EmployeeTempPositionController.ts index b2e2da56..56bf5ea2 100644 --- a/src/controllers/EmployeeTempPositionController.ts +++ b/src/controllers/EmployeeTempPositionController.ts @@ -997,6 +997,7 @@ export class EmployeeTempPositionController extends Controller { return { id: posMaster.id, + current_holderId: posMaster.current_holderId, orgRootId: posMaster.orgRootId, orgChild1Id: posMaster.orgChild1Id, orgChild2Id: posMaster.orgChild2Id, diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index 0131d3b2..d7ad85fe 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -1913,6 +1913,7 @@ export class PositionController extends Controller { return { id: posMaster.id, + current_holderId: posMaster.current_holderId, isDirector: posMaster.isDirector, orgRootId: posMaster.orgRootId, orgChild1Id: posMaster.orgChild1Id, @@ -2342,6 +2343,7 @@ export class PositionController extends Controller { return { id: posMaster.id, + current_holderId: posMaster.current_holderId, isDirector: posMaster.isDirector, orgRootId: posMaster.orgRootId, orgChild1Id: posMaster.orgChild1Id,