diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 2cb4d367..4347dbf3 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -117,7 +117,7 @@ class DataController extends Zend_Controller_Action //展示最近20条离线神情记录情况 function offlineappAction() { - $sql="select * from offlineapp where ts_approved is not null order by ts_created desc limit 20"; + $sql="select * from offlineapp where ts_approved is not null and pdflinke<>'' order by ts_created desc limit 20"; $this->view->rows=$this->db->fetchAll($sql); } function requestAction()