Remove unnecessary condition from attendance log query

This commit is contained in:
2025-07-07 13:46:17 +07:00
parent e9e2b81cf0
commit a74010325f

View File

@ -78,7 +78,7 @@ class LogController
$argv=$_SERVER['argv'];
// echo $argv[1];return false;
$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";
$rs=$this->selectquerySP($qry);
if($rs){