diff --git a/application/admin/controllers/StatController.php b/application/admin/controllers/StatController.php index 36c11fb1..fbe73961 100644 --- a/application/admin/controllers/StatController.php +++ b/application/admin/controllers/StatController.php @@ -24,7 +24,7 @@ class Admin_StatController extends Zend_Controller_Action (select count(id) as num from offlineapp where ts_approved is not null and id in (select offlineappid from dataorder where uuid in (select uuid from $this->submd))) as offlinepass, (select count(id) as num from offlineapp where ts_approved is null and id in (select offlineappid from dataorder where uuid in (select uuid from $this->submd))) as offlineunfinished, (select count(id) as num from dataorder where offlineappid>0 and status=-1 and uuid in (select uuid from $this->submd)) as offlinedenied, - (select count(id) as num from onlineapp and id in (select onlineappid from dataorder where uuid in (select uuid from $this->submd))) as onlineapp"; + (select count(id) as num from onlineapp where id in (select onlineappid from dataorder where uuid in (select uuid from $this->submd))) as onlineapp"; $this->view->stat=$this->db->fetchRow($sql); //下载量统计