check other with absolute
This commit is contained in:
parent
ded7fb097f
commit
ef8b843d81
|
@ -101,6 +101,8 @@ function isSavePlateOther(type, timestamp, plate) {
|
|||
return false;
|
||||
} else if (levenshtein(plate, currentInOther[i].plate) < 2) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentIn[i].plate) < 3) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -112,6 +114,8 @@ function isSavePlateOther(type, timestamp, plate) {
|
|||
return false;
|
||||
} else if (levenshtein(plate, currentOutOther[i].plate) < 2) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentOut[i].plate) < 3) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user