no message

This commit is contained in:
Kittapath 2024-07-08 16:32:02 +07:00
parent 014301dcc4
commit 5d28e1ce55
4 changed files with 68 additions and 47 deletions

View file

@ -1354,6 +1354,7 @@ export class EmployeePositionController extends Controller {
"orgChild2",
"orgChild3",
"orgChild4",
"current_holder",
"positions",
"positions.posLevel",
"positions.posType",
@ -1381,6 +1382,12 @@ export class EmployeePositionController extends Controller {
position: item.positions.map((x) => x.positionName).join("/"),
posLevel: item.positions.map((x) => x.posLevel.posLevelName).join("/"),
posType: item.positions.map((x) => x.posType.posTypeName).join("/"),
fullname:
(item?.current_holder?.prefix ?? "") +
"" +
(item?.current_holder?.firstName ?? "") +
" " +
(item?.current_holder?.lastName ?? ""),
}));
return new HttpSuccess(_data);
}