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