เพิ่มการตรวจการ scan นิ้วจาก timerecorder_id

This commit is contained in:
Nakorn Rientrakrunchai
2021-01-17 11:34:56 +07:00
parent 5b22703086
commit 381369e397
3 changed files with 12 additions and 1 deletions

View File

@@ -253,6 +253,7 @@ namespace TodoAPI2.Models
{
var theemp = (from e in all_emp
where ClearName(i.fullname) == ClearName(e.halfname)
|| (!string.IsNullOrEmpty(e.timerecorder_id) && e.timerecorder_id.Contains(i.badgenumber))
select e).FirstOrDefault();
if (theemp != null)
{