Remove unnecessary condition from attendance log query
This commit is contained in:
@ -78,7 +78,7 @@ class LogController
|
|||||||
$argv=$_SERVER['argv'];
|
$argv=$_SERVER['argv'];
|
||||||
// echo $argv[1];return false;
|
// echo $argv[1];return false;
|
||||||
$qry="select * from tbl_attendancelogs
|
$qry="select * from tbl_attendancelogs
|
||||||
where cast(dates as date)=cast('".$argv[1]."' as date) and isprocess=0
|
where cast(dates as date)=cast('".$argv[1]."' as date)
|
||||||
order by _idx asc";
|
order by _idx asc";
|
||||||
$rs=$this->selectquerySP($qry);
|
$rs=$this->selectquerySP($qry);
|
||||||
if($rs){
|
if($rs){
|
||||||
|
|||||||
Reference in New Issue
Block a user