Browse Source

修正:人员分组

zhongwei
ty 7 months ago
parent
commit
5980f7a1b1
  1. 8
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java

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

@ -184,6 +184,14 @@ public class ImsDutyGroupServiceImpl extends BaseServiceImpl<ImsDutyGroupMapper,
name = name + ",";
}
}
} else if (ObjectUtil.isEmpty(entity.getManagerId())) {
User user1 = UserCache.getUser(userIds.get(i1));
if (ObjectUtil.isNotEmpty(user1)&&StringUtils.isNotBlank(user1.getRealName())) {
name = name + user1.getRealName();
if (i1 != userIds.size() - 1) {
name = name + ",";
}
}
}
}
if (StringUtils.isNotBlank(name)) {

Loading…
Cancel
Save