From d8904f29487d87a6674b1b8344c8b9261d3967e2 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 19 Apr 2011 08:48:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E8=A2=AB=E6=8B=92?= =?UTF-8?q?=E7=BB=9D=E7=9A=84=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()