no message

This commit is contained in:
harid 2025-11-20 17:22:34 +07:00
parent c8cb25e1a9
commit d41632e4c5

View file

@ -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);