fix sql error
This commit is contained in:
parent
239554b3ac
commit
dd8e2cf9f3
|
@ -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);
|
||||
|
||||
//下载量统计
|
||||
|
|
Loading…
Reference in New Issue