Merge branch 'develop' into working
Some checks failed
release-dev / release-dev (push) Failing after 13s
Some checks failed
release-dev / release-dev (push) Failing after 13s
This commit is contained in:
commit
2d0475246a
1 changed files with 6 additions and 6 deletions
|
|
@ -1745,7 +1745,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
dateStart = r.commandDateAffect,
|
dateStart = r.commandDateAffect,
|
||||||
govAgeAbsent = 0,
|
govAgeAbsent = 0,
|
||||||
govAgePlus = 0,
|
govAgePlus = 0,
|
||||||
birthDate = p.DateOfBirth == null ? (DateTime?)null : p.DateOfBirth,
|
birthDate = (p.DateOfBirth == null || p.DateOfBirth == DateTime.MinValue) ? (DateTime?)null : p.DateOfBirth,
|
||||||
reasonSameDate = (DateTime?)null,
|
reasonSameDate = (DateTime?)null,
|
||||||
ethnicity = p.Race == null ? string.Empty : p.Race,
|
ethnicity = p.Race == null ? string.Empty : p.Race,
|
||||||
telephoneNumber = p.Telephone == null ? string.Empty : Regex.Replace(p.Telephone, @"\D", ""),
|
telephoneNumber = p.Telephone == null ? string.Empty : Regex.Replace(p.Telephone, @"\D", ""),
|
||||||
|
|
@ -1775,13 +1775,13 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
duration = e.Duration ?? string.Empty,
|
duration = e.Duration ?? string.Empty,
|
||||||
durationYear = e.DurationYear ?? null,
|
durationYear = e.DurationYear ?? null,
|
||||||
field = e.Field ?? string.Empty,
|
field = e.Field ?? string.Empty,
|
||||||
finishDate = e.FinishDate ?? null,
|
finishDate = (e.FinishDate == null || e.FinishDate == DateTime.MinValue) ? (DateTime?)null : e.FinishDate,
|
||||||
fundName = e.FundName ?? string.Empty,
|
fundName = e.FundName ?? string.Empty,
|
||||||
gpa = e.Gpa ?? string.Empty,
|
gpa = e.Gpa ?? string.Empty,
|
||||||
institute = e.Institute ?? string.Empty,
|
institute = e.Institute ?? string.Empty,
|
||||||
other = e.Other ?? string.Empty,
|
other = e.Other ?? string.Empty,
|
||||||
startDate = e.StartDate ?? null,
|
startDate = (e.StartDate == null || e.StartDate == DateTime.MinValue) ? (DateTime?)null : e.StartDate,
|
||||||
endDate = e.EndDate ?? null,
|
endDate = (e.EndDate == null || e.EndDate == DateTime.MinValue) ? (DateTime?)null : e.EndDate,
|
||||||
educationLevel = e.EducationLevelName,
|
educationLevel = e.EducationLevelName,
|
||||||
educationLevelId = e.EducationLevelId,
|
educationLevelId = e.EducationLevelId,
|
||||||
positionPath = e.PositionPath?.Name ?? string.Empty,
|
positionPath = e.PositionPath?.Name ?? string.Empty,
|
||||||
|
|
@ -1793,8 +1793,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
bodyCertificates = p.PlacementCertificates.Select(e => new
|
bodyCertificates = p.PlacementCertificates.Select(e => new
|
||||||
{
|
{
|
||||||
profileId = string.Empty,
|
profileId = string.Empty,
|
||||||
expireDate = e.ExpireDate ?? null,
|
expireDate = (e.ExpireDate == null || e.ExpireDate == DateTime.MinValue) ? (DateTime?)null : e.ExpireDate,
|
||||||
issueDate = e.IssueDate ?? null,
|
issueDate = (e.IssueDate == null || e.IssueDate == DateTime.MinValue) ? (DateTime?)null : e.IssueDate,
|
||||||
certificateNo = e.CertificateNo ?? string.Empty,
|
certificateNo = e.CertificateNo ?? string.Empty,
|
||||||
certificateType = e.CertificateType ?? string.Empty,
|
certificateType = e.CertificateType ?? string.Empty,
|
||||||
issuer = e.Issuer ?? string.Empty
|
issuer = e.Issuer ?? string.Empty
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue