|
|
@ -176,12 +176,15 @@ public class ImsDutyGroupServiceImpl extends BaseServiceImpl<ImsDutyGroupMapper, |
|
|
|
String name=""; |
|
|
|
String name=""; |
|
|
|
for (int i1 = 0; i1 < userIds.size(); i1++) { |
|
|
|
for (int i1 = 0; i1 < userIds.size(); i1++) { |
|
|
|
if(ObjectUtil.isNotEmpty(entity.getManagerId())&&!entity.getManagerId().equals(userIds.get(i1))){ |
|
|
|
if(ObjectUtil.isNotEmpty(entity.getManagerId())&&!entity.getManagerId().equals(userIds.get(i1))){ |
|
|
|
name = name + UserCache.getUser(userIds.get(i1)).getName(); |
|
|
|
User user1 = UserCache.getUser(userIds.get(i1)); |
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(user1)&&StringUtils.isNotBlank(user1.getName())) { |
|
|
|
|
|
|
|
name = name + user1.getName(); |
|
|
|
if (i1 != userIds.size() - 1) { |
|
|
|
if (i1 != userIds.size() - 1) { |
|
|
|
name = name + ","; |
|
|
|
name = name + ","; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(name)) { |
|
|
|
if (StringUtils.isNotBlank(name)) { |
|
|
|
imsDutyGroupVO.setPersonName(name); |
|
|
|
imsDutyGroupVO.setPersonName(name); |
|
|
|
} |
|
|
|
} |
|
|
|