移除重复项
This commit is contained in:
parent
37688e31de
commit
2c3a899c01
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue