Subversion Repositories SmartDukaan

Rev

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

Rev 29267 Rev 29604
Line 786... Line 786...
786
 
786
 
787
		Map<Integer, List<Integer>> pp = csService.getAuthUserIdPartnerIdMapping();
787
		Map<Integer, List<Integer>> pp = csService.getAuthUserIdPartnerIdMapping();
788
 
788
 
789
		List<Integer> fofoIds = pp.get(authUser.getId());
789
		List<Integer> fofoIds = pp.get(authUser.getId());
790
 
790
 
791
		Map<Integer, CustomRetailer> customRetailersMap = retailerService.getFofoRetailers(fofoIds);
791
		Map<Integer, CustomRetailer> customRetailersMap = fofoIds.stream().map(x->{
-
 
792
			try {
-
 
793
				return retailerService.getFofoRetailer(x);
-
 
794
			} catch (ProfitMandiBusinessException e) {
-
 
795
				// TODO Auto-generated catch block
-
 
796
				return null;
-
 
797
			}
-
 
798
		}).filter(x->x!=null).collect(Collectors.toMap(x->x.getPartnerId(), x->x));
792
 
799
 
793
		model.addAttribute("customRetailersMap", customRetailersMap);
800
		model.addAttribute("customRetailersMap", customRetailersMap);
794
 
801
 
795
		return "partner-readonly-info";
802
		return "partner-readonly-info";
796
 
803