api อัพเดทสถานะ Mark ระบบเครื่องราช

This commit is contained in:
Bright 2025-05-16 17:35:44 +07:00
parent 6e1965ba79
commit 851c024171
6 changed files with 169 additions and 1 deletions

View file

@ -1049,7 +1049,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 = (String?)null,