add single quote
This commit is contained in:
parent
e553375dce
commit
55df6a1352
|
@ -1092,7 +1092,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
$objActSheet->setTitle('在线服务记录');
|
||||
$sql="select o.username,o.unit,o.phone,o.address,o.postcode,o.project,date(o.ts_created) as date,o.email,o.project_id,o.project_type,o.project_title,m.filesize,m.title
|
||||
from onlineapp o left join dataorder d on o.id=d.onlineappid left join metadata m on d.uuid=m.uuid
|
||||
where o.ts_created>='".$ym." and o.ts_created<'".date('Y-m')."-1' and d.status=0 order by o. ts_created
|
||||
where o.ts_created>='".$ym."' and o.ts_created<'".date('Y-m')."-1' and d.status=0 order by o. ts_created
|
||||
";
|
||||
$re = $this->db->query($sql);
|
||||
$rows = $re->fetchAll();
|
||||
|
|
Loading…
Reference in New Issue