From 137bdb5c0c0777fdcdcfad9f719e670b066673f3 Mon Sep 17 00:00:00 2001 From: Adisak Date: Wed, 22 Oct 2025 16:31:10 +0700 Subject: [PATCH] #1884 --- src/controllers/EmployeeTempPositionController.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/EmployeeTempPositionController.ts b/src/controllers/EmployeeTempPositionController.ts index c9621e77..c9397103 100644 --- a/src/controllers/EmployeeTempPositionController.ts +++ b/src/controllers/EmployeeTempPositionController.ts @@ -2042,6 +2042,7 @@ export class EmployeeTempPositionController extends Controller { }, relations: [ "positions", + "positions.posType", "orgRevision", "orgRoot", "orgChild1", @@ -2077,6 +2078,7 @@ export class EmployeeTempPositionController extends Controller { profile.posTypeId = position?.posTypeId ?? _null; profile.position = position?.positionName ?? _null; profile.employeeOc = Org ?? _null; + profile.positionEmployeeGroupId = position?.posType?.posTypeName ?? _null; profile.positionEmployeePositionId = position?.positionName ?? _null; await this.profileRepository.save(profile); }