fix issue #116, #1173, #1174
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
Bright 2025-02-10 17:27:13 +07:00
parent b6aa239b57
commit e77757e324
2 changed files with 56 additions and 0 deletions

View file

@ -476,6 +476,7 @@ namespace BMA.EHR.Placement.Service.Controllers
placementAppointment.EducationOld = org.result.education;
// placementAppointment.EducationOld = profile.Educations.Count() == 0 ? null : $"{profile.Educations.OrderByDescending(x => x.FinishDate).FirstOrDefault().Degree}-{profile.Educations.OrderByDescending(x => x.FinishDate).FirstOrDefault().Field}";
// placementAppointment.AmountOld = profile.Salaries.Count() == 0 ? null : profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount;
placementAppointment.AmountOld = org.result.salary;
placementAppointment.positionOld = org.result.position;
placementAppointment.PositionLevelOld = org.result.posLevelName;