提交 95264445 编写于 作者: L luojing

teamwork权限

上级 334cde5b
...@@ -146,6 +146,8 @@ public class ReviewService { ...@@ -146,6 +146,8 @@ public class ReviewService {
personObj = userManagerService.getPerson( person ); personObj = userManagerService.getPerson( person );
if( personObj != null ) { if( personObj != null ) {
personName = personObj.getDistinguishedName(); personName = personObj.getDistinguishedName();
}else{
personName = userManagerService.getPersonNameWithIdentity(person);
} }
} }
if( StringUtils.isNotEmpty( personName )) { if( StringUtils.isNotEmpty( personName )) {
...@@ -160,7 +162,8 @@ public class ReviewService { ...@@ -160,7 +162,8 @@ public class ReviewService {
} }
//判断所有的人员是否全部加入到Project的参与者里 //判断所有的人员是否全部加入到Project的参与者里
projectEntity.addParticipantPerson( person ); //projectEntity.addParticipantPerson( person );
projectEntity.addParticipantPerson( personName );
} }
emc.beginTransaction( Project.class ); emc.beginTransaction( Project.class );
emc.check( projectEntity, CheckPersistType.all); emc.check( projectEntity, CheckPersistType.all);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册