From 885e1e725cceb9fd9efaf63067e5b8707a3c9c15 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 19 Feb 2024 16:00:19 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9A=E0=B8=B1=E0=B8=99=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=81=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=AD=E0=B8=B1=E0=B8=95=E0=B8=A3=E0=B8=B2=E0=B8=95=E0=B8=B3?= =?UTF-8?q?=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/PositionController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index 2a69b0fb..70a53c93 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -505,6 +505,9 @@ export class PositionController extends Controller { if (!posMaster) { throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลอัตรากำลัง"); } + posMaster.posMasterNo = requestBody.posMasterNo; + posMaster.posMasterNoPrefix = requestBody.posMasterNoPrefix; + posMaster.posMasterNoSuffix = requestBody.posMasterNoSuffix; posMaster.orgRootId = null; posMaster.orgChild1Id = null; posMaster.orgChild2Id = null;