From 08bbeff5a7c053a3b6aa11a4dadbaf2afcd7a0bf Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 14 Mar 2024 15:11:58 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20posTypeId,=20posLeveId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/EmployeePositionController.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controllers/EmployeePositionController.ts b/src/controllers/EmployeePositionController.ts index 3279fffe..b43a1b90 100644 --- a/src/controllers/EmployeePositionController.ts +++ b/src/controllers/EmployeePositionController.ts @@ -211,7 +211,9 @@ export class EmployeePositionController extends Controller { const mapData = { id: empPosDict.id, posDictName: empPosDict.posDictName, //ชื่อตำแหน่ง + posTypeId: empPosType.id, posTypeName: empPosType.posTypeName, //กลุ่มงาน + posLeveId: empPosLevel.id, posLevelName: empPosLevel.posLevelName, //ระดับขั้นงาน }; return new HttpSuccess(mapData); @@ -283,7 +285,9 @@ export class EmployeePositionController extends Controller { return { id: item.id, posDictName: item.posDictName, + posTypeId: item.posTypeId, posTypeName: posTypeName, + posLevelId: item.posLevelId, posLevelName: posLevelName, }; }),