[Fix Bug] #124
This commit is contained in:
parent
fc92c378e8
commit
fa7445275b
5 changed files with 71 additions and 65 deletions
|
|
@ -5626,7 +5626,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
? `${profile.current_holders.find((x) => x.orgRevisionId == orgRevision?.id)?.orgRoot.orgRootShortName}`
|
||||
: null;
|
||||
const dest_item = await this.salaryRepo.findOne({
|
||||
where: { profileId: id },
|
||||
where: { profileEmployeeId: id },
|
||||
order: { order: "DESC" },
|
||||
});
|
||||
const data: any = {
|
||||
|
|
@ -5638,7 +5638,9 @@ export class ProfileEmployeeController extends Controller {
|
|||
posNo: orgRevisionRef?.posMasterNo,
|
||||
positionExecutive: "",
|
||||
positionType: profile.posType?.posTypeName,
|
||||
positionLevel: profile.posLevel?.posLevelName,
|
||||
positionLevel: profile.posType && profile.posLevel
|
||||
? `${profile.posType?.posTypeShortName} ${profile.posLevel?.posLevelName}`
|
||||
: "",
|
||||
amountSpecial: profile.amountSpecial,
|
||||
orgRoot: orgRootRef?.orgRootName,
|
||||
orgChild1: orgChild1Ref?.orgChild1Name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue