Browse Source

班组分组查询接口修改

zhongwei
ty 8 months ago
parent
commit
42691b77dd
  1. 5
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java

5
hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java

@ -176,12 +176,15 @@ public class ImsDutyGroupServiceImpl extends BaseServiceImpl<ImsDutyGroupMapper,
String name="";
for (int i1 = 0; i1 < userIds.size(); 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) {
name = name + ",";
}
}
}
}
if (StringUtils.isNotBlank(name)) {
imsDutyGroupVO.setPersonName(name);
}

Loading…
Cancel
Save