query add type RetirementDeceased
This commit is contained in:
parent
4dcaa92f63
commit
bf4d551f40
4 changed files with 10 additions and 4 deletions
|
|
@ -1943,7 +1943,10 @@ export class ProfileEmployeeController extends Controller {
|
|||
firstName: _data.firstName,
|
||||
lastName: _data.lastName,
|
||||
citizenId: _data.citizenId,
|
||||
posLevel: _data.posLevel == null ? null : _data.posLevel.posLevelName,
|
||||
posLevel:
|
||||
_data.posLevel == null
|
||||
? null
|
||||
: `${_data?.posType?.posTypeShortName ?? ""} ${_data?.posLevel?.posLevelName ?? ""}`,
|
||||
posType: _data.posType == null ? null : _data.posType.posTypeName,
|
||||
position: _data.position,
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -1759,7 +1759,10 @@ export class ProfileEmployeeTempController extends Controller {
|
|||
firstName: _data.firstName,
|
||||
lastName: _data.lastName,
|
||||
citizenId: _data.citizenId,
|
||||
posLevel: _data.posLevel == null ? null : _data.posLevel.posLevelName,
|
||||
posLevel:
|
||||
_data.posLevel == null
|
||||
? null
|
||||
: `${_data?.posType?.posTypeShortName ?? ""} ${_data?.posLevel?.posLevelName ?? ""}`,
|
||||
posType: _data.posType == null ? null : _data.posType.posTypeName,
|
||||
position: _data.position,
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ export class ProfileGovernmentEmployeeController extends Controller {
|
|||
posLevel:
|
||||
record.posLevel == null
|
||||
? null
|
||||
: `${record.posType.posTypeShortName}${record.posLevel.posLevelName}`, //ระดับ
|
||||
: `${record?.posType?.posTypeShortName ?? ""} ${record?.posLevel?.posLevelName ?? ""}`, //ระดับ
|
||||
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
|
||||
posType: record.posType == null ? null : record.posType.posTypeName, //ประเภท
|
||||
dateLeave: record.birthDate == null ? null : calculateRetireDate(record.birthDate), //วันเกษียณ
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ export class ProfileGovernmentEmployeeTempController extends Controller {
|
|||
posLevel:
|
||||
record.posLevel == null
|
||||
? null
|
||||
: `${record.posType.posTypeShortName}${record.posLevel.posLevelName}`, //ระดับ
|
||||
: `${record?.posType?.posTypeShortName ?? ""} ${record?.posLevel?.posLevelName ?? ""}`, //ระดับ
|
||||
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
|
||||
posType: record.posType == null ? null : record.posType.posTypeName, //ประเภท
|
||||
dateLeave: record.birthDate == null ? null : calculateRetireDate(record.birthDate), //วันเกษียณ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue