From 815382324a276779eb62aaebd390dc179e6ad4d0 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 22 Apr 2015 10:57:58 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=93=E9=A2=98=E6=96=87?= =?UTF-8?q?=E7=8C=AE=E7=9A=84=E8=B0=83=E7=94=A8=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index aaa25bc8..553d0b8c 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -614,7 +614,7 @@ class DataController extends Zend_Controller_Action $sql=$this->db->quoteInto($sql,$uuid); $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); $this->view->themeref=$this->db->fetchAll($sql); //用户发表文献