fix ฟิลด์วันที่รายงานขอโอน issue #1533, #1534, #1535, #1536, #1537
Some checks failed
release-dev / release-dev (push) Failing after 10s

This commit is contained in:
Bright 2025-05-21 17:39:46 +07:00
parent 164ed56671
commit 5c789232f1
2 changed files with 8 additions and 7 deletions

View file

@ -2093,7 +2093,7 @@ namespace BMA.EHR.Placement.Service.Controllers
dateStart = r.commandDateAffect,
govAgeAbsent = 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,
ethnicity = p.Race == null ? string.Empty : p.Race,
telephoneNumber = p.Telephone == null ? string.Empty : p.Telephone,