เพิ่มid ประวัติการศึกษา

This commit is contained in:
Kittapath 2023-07-14 12:03:16 +07:00
parent 8c50baaf5f
commit 6b7fcaaba2

View file

@ -246,6 +246,7 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
Id = p.Id, Id = p.Id,
EducationLevel = p.EducationLevel == null ? null : p.EducationLevel.Name, EducationLevel = p.EducationLevel == null ? null : p.EducationLevel.Name,
EducationLevelId = p.EducationLevel == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.EducationLevel.Id,
Institute = p.Institute, Institute = p.Institute,
Degree = p.Degree, Degree = p.Degree,
Field = p.Field, Field = p.Field,
@ -260,6 +261,7 @@ namespace BMA.EHR.Placement.Service.Controllers
StartDate = p.StartDate, StartDate = p.StartDate,
EndDate = p.EndDate, EndDate = p.EndDate,
PositionPath = p.PositionPath == null ? null : p.PositionPath.Name, PositionPath = p.PositionPath == null ? null : p.PositionPath.Name,
PositionPathId = p.PositionPath == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.PositionPath.Id,
IsEducation = p.IsEducation, IsEducation = p.IsEducation,
}), }),
RegistAddress = x.RegistAddress, RegistAddress = x.RegistAddress,