Browse Source

班组分组查询接口改为用户昵称显示

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

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

@ -177,8 +177,8 @@ public class ImsDutyGroupServiceImpl extends BaseServiceImpl<ImsDutyGroupMapper,
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))){
User user1 = UserCache.getUser(userIds.get(i1)); User user1 = UserCache.getUser(userIds.get(i1));
if (ObjectUtil.isNotEmpty(user1)&&StringUtils.isNotBlank(user1.getName())) { if (ObjectUtil.isNotEmpty(user1)&&StringUtils.isNotBlank(user1.getRealName())) {
name = name + user1.getName(); name = name + user1.getRealName();
if (i1 != userIds.size() - 1) { if (i1 != userIds.size() - 1) {
name = name + ","; name = name + ",";
} }

Loading…
Cancel
Save