Browse Source

班组分组查询接口修改

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

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

@ -176,9 +176,12 @@ 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 (i1 != userIds.size() - 1) { if (ObjectUtil.isNotEmpty(user1)&&StringUtils.isNotBlank(user1.getName())) {
name = name + ","; name = name + user1.getName();
if (i1 != userIds.size() - 1) {
name = name + ",";
}
} }
} }
} }

Loading…
Cancel
Save