Browse Source

/epmetuser/icresiuser/ownerrelation

master
yinzuomei 2 years ago
parent
commit
f8e1ae045d
  1. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

2
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

@ -1629,7 +1629,7 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi
List<OwnerRelationResultDTO.UserListBean> userList=new ArrayList<>(); List<OwnerRelationResultDTO.UserListBean> userList=new ArrayList<>();
for(IcResiUserEntity item:resiUserList){ for(IcResiUserEntity item:resiUserList){
// 成员里排除户主 // 成员里排除户主
if(!result.getOwnerUserId().equals(item.getId())){ if (null == result.getOwnerUserId() || !result.getOwnerUserId().equals(item.getId())) {
OwnerRelationResultDTO.UserListBean bean = new OwnerRelationResultDTO.UserListBean(); OwnerRelationResultDTO.UserListBean bean = new OwnerRelationResultDTO.UserListBean();
bean.setUserId(item.getId()); bean.setUserId(item.getId());
bean.setUserName(item.getName()); bean.setUserName(item.getName());

Loading…
Cancel
Save