Subversion Repositories SmartDukaan

Rev

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

Rev 30146 Rev 30149
Line 611... Line 611...
611
				startDate = LocalDate.now().minusDays(1).atStartOfDay();
611
				startDate = LocalDate.now().minusDays(1).atStartOfDay();
612
 
612
 
613
			}
613
			}
614
 
614
 
615
			List<PartnerDailyInvestment> partnerDailyInvestments = partnerDailyInvestmentRepository
615
			List<PartnerDailyInvestment> partnerDailyInvestments = partnerDailyInvestmentRepository
616
					.selectAll(fofoIdList, startDate.toLocalDate());
616
					.selectAll(fofoIdList, startDate.toLocalDate().minusDays(1));
617
			if (!partnerDailyInvestments.isEmpty()) {
617
			if (!partnerDailyInvestments.isEmpty()) {
618
				partnerDailyInvestmentMap = partnerDailyInvestments.stream()
618
				partnerDailyInvestmentMap = partnerDailyInvestments.stream()
619
						.collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
619
						.collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
620
			}
620
			}
621
 
621