在线资源中移除原来的文档限制

This commit is contained in:
wlx 2011-11-26 14:44:39 +00:00
parent f76cd74bd3
commit 5eb8535928
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ class DataController extends Zend_Controller_Action
$row=$this->db->fetchRow($sql);
if ($row) $this->view->doc=$row->linkage;
//相关资源
$sql="select * from onlineresource where uuid=? and description<>'数据说明文档' and (linkage not like '%ftp.westgis%') and name<>'元数据地址'";
$sql="select * from onlineresource where uuid=? and (linkage not like '%ftp.westgis%') and name<>'元数据地址'";
$sql=$this->db->quoteInto($sql,$uuid);
$this->view->resources=$this->db->fetchAll($sql);
//建议参考文献