修复数据集序列链接错误
This commit is contained in:
parent
26fdc92607
commit
2eb9515208
|
@ -530,7 +530,7 @@ class DataController extends Zend_Controller_Action
|
|||
$sql='select c.code,cc.name,cc.name_zh from category c,categorycode cc where c.code=cc.code and c.id= ?';
|
||||
$state=$db->query($sql,array($id));
|
||||
$this->view->category=$state->fetchAll();
|
||||
$sql='select s.name from dataseries d, series s where d.sid=s.id and d.id= ?';
|
||||
$sql='select s.name,s.id from dataseries d, series s where d.sid=s.id and d.id= ?';
|
||||
$state=$db->query($sql,array($id));
|
||||
$this->view->series=$state->fetchAll();
|
||||
$sql=$db->quoteInto("select count(*) as count from dataorder where uuid=?",$uuid);
|
||||
|
|
Loading…
Reference in New Issue