Subversion Repositories SmartDukaan

Rev

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

Rev 25321 Rev 25322
Line 616... Line 616...
616
					storeGuyMap.put(storeGuy, new HashSet<>());
616
					storeGuyMap.put(storeGuy, new HashSet<>());
617
				}
617
				}
618
				storeGuyMap.get(storeGuy).add(storeEmail);
618
				storeGuyMap.get(storeGuy).add(storeEmail);
619
			}
619
			}
620
		}
620
		}
-
 
621
		storeGuyMap.remove("");
621
 
622
 
622
		String fileName = "InvestmentSummary-" + FormattingUtils.formatDate(LocalDateTime.now()) + ".csv";
623
		String fileName = "InvestmentSummary-" + FormattingUtils.formatDate(LocalDateTime.now()) + ".csv";
623
		for (Map.Entry<String, Set<String>> storeGuyEntry : storeGuyMap.entrySet()) {
624
		for (Map.Entry<String, Set<String>> storeGuyEntry : storeGuyMap.entrySet()) {
624
			List<List<? extends Serializable>> filteredRows = storeGuyEntry.getValue().stream()
625
			List<List<? extends Serializable>> filteredRows = storeGuyEntry.getValue().stream()
625
					.map(x -> partnerRow.get(x)).collect(Collectors.toList());
626
					.map(x -> partnerRow.get(x)).collect(Collectors.toList());
Line 701... Line 702...
701
					storeGuyMap.put(storeGuy, new HashSet<>());
702
					storeGuyMap.put(storeGuy, new HashSet<>());
702
				}
703
				}
703
				storeGuyMap.get(storeGuy).add(storeEmail);
704
				storeGuyMap.get(storeGuy).add(storeEmail);
704
			}
705
			}
705
		}
706
		}
-
 
707
		storeGuyMap.remove("");
706
 
708
 
707
		String fileName = "TargetVsSales-" + FormattingUtils.formatDate(LocalDateTime.now()) + ".csv";
709
		String fileName = "TargetVsSales-" + FormattingUtils.formatDate(LocalDateTime.now()) + ".csv";
708
		for (Map.Entry<String, Set<String>> storeGuyEntry : storeGuyMap.entrySet()) {
710
		for (Map.Entry<String, Set<String>> storeGuyEntry : storeGuyMap.entrySet()) {
709
			List<List<? extends Serializable>> filteredRows = storeGuyEntry.getValue().stream()
711
			List<List<? extends Serializable>> filteredRows = storeGuyEntry.getValue().stream()
710
					.map(x -> partnerRowMap.get(x)).filter(x->x!=null).collect(Collectors.toList());
712
					.map(x -> partnerRowMap.get(x)).filter(x->x!=null).collect(Collectors.toList());