修改专题文献的调用方式

This commit is contained in:
wlx 2015-04-22 10:57:58 +00:00
parent adc299f09f
commit 815382324a
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ class DataController extends Zend_Controller_Action
$sql=$this->db->quoteInto($sql,$uuid); $sql=$this->db->quoteInto($sql,$uuid);
$this->view->dataref=$this->db->fetchAll($sql); $this->view->dataref=$this->db->fetchAll($sql);
//数据的专题文献 //数据的专题文献
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=4 order by m.place"; $sql="select r.* from reference r left join sourceref sr on r.id=sr.refid left join datasource ds on ds.sourceid=sr.sourceid where ds.uuid=? order by sr.place";
$sql=$this->db->quoteInto($sql,$uuid); $sql=$this->db->quoteInto($sql,$uuid);
$this->view->themeref=$this->db->fetchAll($sql); $this->view->themeref=$this->db->fetchAll($sql);
//用户发表文献 //用户发表文献