แก้ฟิว placementeducation

This commit is contained in:
Kittapath 2023-07-06 09:34:09 +07:00
parent 55a5914967
commit 85bc0fd359
5 changed files with 10784 additions and 40 deletions

View file

@ -163,11 +163,21 @@ namespace BMA.EHR.Placement.Service.Controllers
{
Id = p.Id,
EducationLevel = p.EducationLevel == null ? null : p.EducationLevel.Name,
Major = p.Major,
Scores = p.Scores,
Name = p.Name,
DurationStart = p.DurationStart,
DurationEnd = p.DurationEnd,
Institute = p.Institute,
Degree = p.Degree,
Field = p.Field,
Gpa = p.Gpa,
Country = p.Country,
Duration = p.Duration,
Other = p.Other,
FundName = p.FundName,
DurationYear = p.DurationYear,
FinishDate = p.FinishDate,
IsDate = p.IsDate,
StartDate = p.StartDate,
EndDate = p.EndDate,
PositionPath = p.PositionPath == null ? null : p.PositionPath.Name,
IsEducation = p.IsEducation,
}),
RegistSubDistrict = x.RegistSubDistrict == null ? null : x.RegistSubDistrict.Name,
RegistSubDistrictId = x.RegistSubDistrict == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : x.RegistSubDistrict.Id,