diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index d5609a3f..c5010d98 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -2025,7 +2025,11 @@ export class ProfileController extends Controller { child3ShortName: child3Holder?.orgChild3ShortName ?? null, child4: child4Holder?.orgChild4Name ?? null, child4Id: child4Holder?.id ?? null, - // posMasterNo: posMasterNo, + posMasterNo: posMasterNo ?? null, + posTypeId: item.posTypeId, + posTypeName: item.posType?.posTypeName, + posLevelId: item.posLevelId, + posLevelName: item.posLevel?.posLevelName, }; }), ); diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 72b499b5..1918c3d7 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -1303,6 +1303,9 @@ export class ProfileEmployeeController extends Controller { const child4Holder = item.current_holders?.find( (x) => x.orgRevisionId == findRevision.id, )?.orgChild4; + const posMasterNo = item.current_holders?.find( + (x) => x.orgRevisionId == findRevision.id, + )?.posMasterNo; return { id: item.id, @@ -1337,6 +1340,11 @@ export class ProfileEmployeeController extends Controller { child4: child4Holder?.orgChild4Name ?? null, child4Id: child4Holder?.id ?? null, child4ShortName: child4Holder?.orgChild4ShortName ?? null, + posMasterNo: posMasterNo ?? null, + posTypeId: item.posTypeId, + posTypeName: item.posType?.posTypeName, + posLevelId: item.posLevelId, + posLevelName: item.posLevel?.posLevelName, }; }), );