แก้ model สอบคัดเลือก
This commit is contained in:
parent
5456eda96f
commit
4fb8439968
6 changed files with 131 additions and 63 deletions
|
|
@ -123,7 +123,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
Year = (p.PeriodExam.Year.Value.ToThaiYear().ToString()),
|
||||
FullName = $"{p.Prefix}{p.FirstName} {p.LastName}",
|
||||
ExamResult = sr == null ? "" : sr.ExamStatus,
|
||||
EndDate = (p.PeriodExam.RegisterEndDate.ToThaiFullDate3()),
|
||||
EndDate = p.PeriodExam.RegisterEndDate == null ? "" : (p.PeriodExam.RegisterEndDate.Value.ToThaiFullDate3()),
|
||||
AuthName = "นายณัฐพงศ์ ดิษยบุตร",
|
||||
AuthPosition = "หัวหน้าสำนักงาน ก.ก."
|
||||
})
|
||||
|
|
@ -206,7 +206,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
Number = sr == null ? "" : (sr.Number),
|
||||
// ExamCount = 10,
|
||||
// ExamCount = GetExamCountTes(p.CitizenId),
|
||||
ScoreExpire = p.PeriodExam.AnnouncementDate == null ? "" : (p.PeriodExam.AnnouncementDate.AddYears(2).ToThaiShortDate()),
|
||||
ScoreExpire = p.PeriodExam.AnnouncementDate == null ? "" : (p.PeriodExam.AnnouncementDate.Value.AddYears(2).ToThaiShortDate()),
|
||||
FullA = sr == null ? "๐" : (sr.FullA.ToString()),
|
||||
SumA = sr == null ? "๐" : (sr.SumA.ToString()),
|
||||
FullB = sr == null ? "๐" : (sr.FullB.ToString()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue