ค้นหาตำแหน่งกรณีไม่มี

This commit is contained in:
Kittapath 2024-03-29 10:34:30 +07:00
parent 2be2a6f48c
commit 452c2b9db0

View file

@ -95,9 +95,9 @@ export class ProfileGovernmentHistoryController extends Controller {
org: org, //สังกัด
positionField: position == null ? null : position.positionField, //สายงาน
position: record.position, //ตำแหน่ง
posLevel: record.posLevel?.posLevelName || null, //ระดับ
posLevel: record.posLevel == null ? null : record.posLevel.posLevelName, //ระดับ
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
posType: record.posType.posTypeName, //ประเภท
posType: record.posType == null ? null : record.posType.posTypeName, //ประเภท
posExecutive:
position == null || position.posExecutive == null
? null