Merge branch 'develop'
This commit is contained in:
commit
cc6f09db9f
1 changed files with 13 additions and 12 deletions
|
|
@ -501,13 +501,18 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
int calStp2 = cal % 11;
|
int calStp2 = cal % 11;
|
||||||
int chkDigit = 11 - calStp2;
|
int chkDigit = 11 - calStp2;
|
||||||
|
|
||||||
if (chkDigit == 10)
|
//////if (chkDigit == 10)
|
||||||
|
//////{
|
||||||
|
////// chkDigit = 1;
|
||||||
|
//////}
|
||||||
|
//////else if (chkDigit == 11)
|
||||||
|
//////{
|
||||||
|
////// chkDigit = chkDigit % 10;
|
||||||
|
//////}
|
||||||
|
|
||||||
|
if (chkDigit >= 10)
|
||||||
{
|
{
|
||||||
chkDigit = 1;
|
chkDigit = 0;
|
||||||
}
|
|
||||||
else if (chkDigit == 11)
|
|
||||||
{
|
|
||||||
chkDigit = chkDigit % 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (citizenIdDigits[12] != chkDigit)
|
if (citizenIdDigits[12] != chkDigit)
|
||||||
|
|
@ -817,13 +822,9 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
int calStp2 = cal % 11;
|
int calStp2 = cal % 11;
|
||||||
int chkDigit = 11 - calStp2;
|
int chkDigit = 11 - calStp2;
|
||||||
|
|
||||||
if (chkDigit == 10)
|
if (chkDigit >= 10)
|
||||||
{
|
{
|
||||||
chkDigit = 1;
|
chkDigit = 0;
|
||||||
}
|
|
||||||
else if (chkDigit == 11)
|
|
||||||
{
|
|
||||||
chkDigit = chkDigit % 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (citizenIdDigits[12] != chkDigit)
|
if (citizenIdDigits[12] != chkDigit)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue