Subversion Repositories SmartDukaan

Rev

Rev 26460 | Rev 26978 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26460 Rev 26960
Line 608... Line 608...
608
			List<Integer> partnerEmails = positionPartnerEntry.getValue().stream()
608
			List<Integer> partnerEmails = positionPartnerEntry.getValue().stream()
609
					.filter(x -> activeFofoIds.contains(x.getPartnerId())).map(x -> x.getPartnerId())
609
					.filter(x -> activeFofoIds.contains(x.getPartnerId())).map(x -> x.getPartnerId())
610
					.collect(Collectors.toList());
610
					.collect(Collectors.toList());
611
			AuthUser authUser = authRepository.selectById(authUserId);
611
			AuthUser authUser = authRepository.selectById(authUserId);
612
			if (authUser.isActive()) {
612
			if (authUser.isActive()) {
613
				if (!storeGuyMap.containsKey(authUser.getEmailId())) {
613
				if (!storeGuyMap.containsKey(authUserId)) {
614
					storeGuyMap.put(authUser.getId(), partnerEmails);
614
					storeGuyMap.put(authUserId, partnerEmails);
615
				} else {
615
				} else {
616
					storeGuyMap.get(authUser.getEmailId()).addAll(partnerEmails);
616
					storeGuyMap.get(authUserId).addAll(partnerEmails);
617
				}
617
				}
618
			}
618
			}
619
		}
619
		}
620
		return storeGuyMap;
620
		return storeGuyMap;
621
	}
621
	}