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