From 2d694c79fcaec753dae58499b1e491764f6d6d8d Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 25 Jun 2025 13:43:48 +0700 Subject: [PATCH] =?UTF-8?q?Fix=20[Bug]=20=E0=B8=AA=E0=B8=A3=E0=B8=A3?= =?UTF-8?q?=E0=B8=AB=E0=B8=B2=E0=B8=84=E0=B8=B1=E0=B8=94=E0=B9=80=E0=B8=A5?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B8=A1?= =?UTF-8?q?=E0=B8=B2=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A3=E0=B8=B0=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=9A=E0=B8=A3=E0=B8=A3=E0=B8=88=E0=B8=B8=20?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AA?= =?UTF-8?q?=E0=B8=AD=E0=B8=9A=E0=B8=A1=E0=B8=B2=E0=B9=81=E0=B8=95=E0=B9=88?= =?UTF-8?q?=E0=B8=84=E0=B8=99=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B8=A1=E0=B8=B2?= =?UTF-8?q?=20#1380?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/PeriodExamService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/PeriodExamService.cs b/Services/PeriodExamService.cs index 99ff976..cd0a2f2 100644 --- a/Services/PeriodExamService.cs +++ b/Services/PeriodExamService.cs @@ -2828,7 +2828,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services LastUpdateFullName = FullName ?? "", }; await _contextMetadata.Placements.AddAsync(placement); - foreach (var candidate in periodExam.Candidate.Where(x => x.Status == "done" && x.Pass == "ได้")) + foreach (var candidate in periodExam.Candidate.Where(x => x.Status.Trim().ToUpper() == "DONE" && x.Pass?.Trim() == "ได้")) { var IsOfficer = false; dynamic org = null;