Merge branch 'develop' of github.com:Frappet/hrms-api-exam into develop

This commit is contained in:
kittapath-Jool 2025-09-15 16:03:07 +07:00
commit 4809cdbee3

View file

@ -1910,19 +1910,19 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
profileID = dr["profileID"].ToString(), profileID = dr["profileID"].ToString(),
prefix = dr["prefix"].ToString(), prefix = dr["prefix"].ToString(),
fullName = dr["fullName"].ToString(), fullName = dr["fullName"].ToString(),
dateOfBirth = dr["dateofbirth"] == null ? "" : Convert.ToDateTime(dr["dateofbirth"]).ToThaiShortDate(), dateOfBirth = dr["dateofbirth"] == null || Convert.ToDateTime(dr["dateofbirth"]) == DateTime.MinValue ? "" : Convert.ToDateTime(dr["dateofbirth"]).ToThaiShortDate(),
gender = dr["gender"].ToString(), gender = dr["gender"].ToString(),
degree = dr["degree"].ToString(), degree = dr["degree"].ToString(),
major = dr["major"].ToString(), major = dr["major"].ToString(),
majorgroup = dr["majorgroup"].ToString(), majorgroup = dr["majorgroup"].ToString(),
certificateNo = dr["certificateno"].ToString(), certificateNo = dr["certificateno"].ToString(),
certificateIssueDate = dr["certificateIssueDate"] == null ? "" : Convert.ToDateTime(dr["certificateIssueDate"]).ToThaiShortDate(), certificateIssueDate = dr["certificateIssueDate"] == null || Convert.ToDateTime(dr["certificateIssueDate"]) == DateTime.MinValue ? "" : Convert.ToDateTime(dr["certificateIssueDate"]).ToThaiShortDate(),
ExamScore = dr["score"] == null ? 0 : dr["score"].ToString().ToInteger(), ExamScore = dr["score"] == null ? 0 : dr["score"].ToString().ToInteger(),
ExamResult = dr["result"].ToString(), ExamResult = dr["result"].ToString(),
ExamAttribute = dr["examAttribute"].ToString(), ExamAttribute = dr["examAttribute"].ToString(),
Remark = dr["remark"].ToString(), Remark = dr["remark"].ToString(),
IsSpecial = dr["isspecial"].ToString(), IsSpecial = dr["isspecial"].ToString(),
applyDate = dr["applydate"] == null ? "" : Convert.ToDateTime(dr["applydate"]).ToThaiShortDate(), applyDate = dr["applydate"] == null || Convert.ToDateTime(dr["applydate"]) == DateTime.MinValue ? "" : Convert.ToDateTime(dr["applydate"]).ToThaiShortDate(),
university = dr["university"].ToString(), university = dr["university"].ToString(),
position_name = dr["position_name"].ToString(), position_name = dr["position_name"].ToString(),
hddPosition = dr["hddPosition"].ToString(), hddPosition = dr["hddPosition"].ToString(),