修复数据集序列链接错误

This commit is contained in:
wlx 2010-01-06 07:33:10 +00:00
parent 26fdc92607
commit 2eb9515208
1 changed files with 1 additions and 1 deletions

View File

@ -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);