From d41632e4c540cb2c6c624830a6c18fac5fd8f2d3 Mon Sep 17 00:00:00 2001 From: harid Date: Thu, 20 Nov 2025 17:22:34 +0700 Subject: [PATCH 1/2] no message --- Services/CandidateService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Services/CandidateService.cs b/Services/CandidateService.cs index 07daa19..f4184fa 100644 --- a/Services/CandidateService.cs +++ b/Services/CandidateService.cs @@ -2621,10 +2621,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services int calStp2 = cal % 11; int chkDigit = 11 - calStp2; - if (chkDigit == 10) - chkDigit = 1; - else if (chkDigit == 11) - chkDigit = chkDigit % 10; + if (chkDigit >= 10) + { + chkDigit = 0; + } if (citizenIdDigits[12] != chkDigit) throw new Exception(GlobalMessages.CitizenIncorrect); From 7579be09c54bb45d29af3025028a2c45ac13b570 Mon Sep 17 00:00:00 2001 From: harid Date: Fri, 21 Nov 2025 17:20:21 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=B4=E0=B8=94?= =?UTF-8?q?=E0=B9=83=E0=B8=AB=E0=B9=89=E0=B8=94=E0=B8=B2=E0=B8=A7=E0=B8=99?= =?UTF-8?q?=E0=B9=8C=E0=B9=82=E0=B8=AB=E0=B8=A5=E0=B8=94=E0=B9=83=E0=B8=9A?= =?UTF-8?q?=E0=B8=AA=E0=B8=A1=E0=B8=B1=E0=B8=84=E0=B8=A3=20=E0=B8=A3?= =?UTF-8?q?=E0=B8=AD=E0=B8=9A=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B8=B5=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=8A?= =?UTF-8?q?=E0=B8=B3=E0=B8=A3=E0=B8=B0=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/CandidateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/CandidateService.cs b/Services/CandidateService.cs index f4184fa..a3452a4 100644 --- a/Services/CandidateService.cs +++ b/Services/CandidateService.cs @@ -2291,7 +2291,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services foreach (var candidate in candidates) { - if (candidate.Status.Trim().ToUpper() != "CHECKSEAT") + if (candidate.Status.Trim().ToUpper() != "CHECKSEAT" || (candidate.PeriodExam.Fee > 0 && candidate.Status.Trim().ToUpper() != "CHECKPOINT")) continue; candidate.IsShowExamInfo = true;