From e4386d9cb109a020fdecdf672e3c2e3db6064d50 Mon Sep 17 00:00:00 2001 From: kittapath Date: Sat, 11 Jan 2025 12:07:56 +0700 Subject: [PATCH] no message --- Services/PeriodExamService.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Services/PeriodExamService.cs b/Services/PeriodExamService.cs index 74fb3f6..5d52aa2 100644 --- a/Services/PeriodExamService.cs +++ b/Services/PeriodExamService.cs @@ -1388,10 +1388,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services PointPath1A = item.PointPath1A != null ? item.PointPath1A.ToThaiNumber() : "-", PointPath2A = item.PointPath2A != null ? item.PointPath2A.ToThaiNumber() : "-", - PointPath3A = item.PointPath3A != null ? item.PointPath3A.ToThaiNumber() : "-", + PointPath3A = item.PointPath3A != null ? item.PointPath3A.ToThaiNumber() : "-", PointA = item.PointA != null ? item.PointA.ToThaiNumber() : "-", PointPerA = item.PointPerA != null ? item.PointPerA.ToThaiNumber() : "-", - ResultA = item.ResultA != null ? item.ResultA.ToThaiNumber() : "-", + ResultA = item.ResultA != null ? item.ResultA.ToThaiNumber() : "-", PointB = item.PointB != null ? item.PointB.ToThaiNumber() : "-", PointPerB = item.PointPerB != null ? item.PointPerB.ToThaiNumber() : "-", @@ -1448,7 +1448,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services ExamReason = "-" }); } - + return new { template = "candidate", @@ -1987,7 +1987,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services .OrderBy(x => x.DurationStart) .Where(x => x.Candidate.Id == item.Id) .ToListAsync(); - if(careers.Any()) + if (careers.Any()) { var firstCareer = careers.First(); @@ -2493,7 +2493,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services var educations = new List(); var careers = new List(); - var ages = new { + var ages = new + { one = "๐", two = "๐", three = "๐", @@ -2561,7 +2562,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services careersCount = careersCount.ToString().ToThaiNumber(), ages = ages } - }; + }; } public async Task DownloadCandidatePaymentAllAsync(string examId) @@ -2620,6 +2621,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services .ThenInclude(x => x.PositionExam) .Include(x => x.Candidate) .ThenInclude(x => x.ProfileImg) + .Include(x => x.Candidate) + .ThenInclude(x => x.Educations) .FirstOrDefaultAsync(x => x.Id == examId); if (periodExam == null)