移除重复项

This commit is contained in:
wlx 2012-05-14 05:50:25 +00:00
parent 37688e31de
commit 2c3a899c01
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Admin_DownController extends Zend_Controller_Action
// 3. 未认证的数据即无明确的数据管理者从元数据提取对应管理者的email信息进行管理
//无数据作者的数据,根据元数据中的联系人信息发送相应的管理邮件,发送策略是多发还是少发?
//发送管理邮件同时建议用户认证为数据的作者,可以有更多的管理选择,同时邮件中应该有详细的说明为什么会收到此邮件
$sql="select res.email,d.uuid,m.title,role.role from dataorder d left join role on d.uuid=role.uuid left join responsible res on role.resid=res.id
$sql="select distinct res.email,d.uuid,m.title,role.role from dataorder d left join role on d.uuid=role.uuid left join responsible res on role.resid=res.id
left join metadata m on d.uuid=m.uuid left join mdstatus s on d.uuid=s.uuid where length(res.email)>4 and d.offlineappid=?
and (s.status=5 or s.status is null) and role.role in ('pointOfContact','custodian','resourceProvider','owner','distributor','publisher','author')
order by m.title,res.email";