Compare commits
2 Commits
ca530ec17c
...
e96358d652
| Author | SHA1 | Date | |
|---|---|---|---|
| e96358d652 | |||
| 27492fc088 |
@ -84,9 +84,10 @@ class LogController
|
|||||||
if($rs){
|
if($rs){
|
||||||
$d=array();
|
$d=array();
|
||||||
while($rw=$rs->fetch()){
|
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['timestamp']=date("Y-m-d H:i:s", strtotime($rw['dates'].' '.$rw['times']));
|
||||||
$d['id']=$rw['fingerid'];
|
$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']);
|
$res=$this->fn_setattendance($d, $rw['deviceip']);
|
||||||
if($res){
|
if($res){
|
||||||
$qryupdate="update tbl_attendancelogs set isprocess=1,processdate=now() where _idx='".$rw['_idx']."'";
|
$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;
|
$rtn=true;
|
||||||
return $rtn;
|
return $rtn;
|
||||||
|
|||||||
Reference in New Issue
Block a user