diff --git a/getdatadevicesbylogs.php b/getdatadevicesbylogs.php index f0dff89..5acd2ea 100644 --- a/getdatadevicesbylogs.php +++ b/getdatadevicesbylogs.php @@ -84,9 +84,10 @@ class LogController if($rs){ $d=array(); while($rw=$rs->fetch()){ - echo "start time : ".date("Y-m-d H:i:s")."\n"; $d['timestamp']=date("Y-m-d H:i:s", strtotime($rw['dates'].' '.$rw['times'])); $d['id']=$rw['fingerid']; + echo "start time : ".date("Y-m-d H:i:s")." Process dates ".$d['timestamp'].", FingerId : ".$rw['fingerid']." \n"; + $res=$this->fn_setattendance($d, $rw['deviceip']); if($res){ $qryupdate="update tbl_attendancelogs set isprocess=1,processdate=now() where _idx='".$rw['_idx']."'"; @@ -713,7 +714,7 @@ class LogController } } - echo "end time : ".date("Y-m-d H:i:s")."\n"; + // echo "end time : ".date("Y-m-d H:i:s")."\n"; } $rtn=true; return $rtn;