Subversion Repositories SmartDukaan

Rev

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

Rev 30434 Rev 30438
Line 867... Line 867...
867
			Map<CollectionRemark, Long> partnerCollectionRemarks = new HashedMap();
867
			Map<CollectionRemark, Long> partnerCollectionRemarks = new HashedMap();
868
 
868
 
869
			long todayOverallCall = 0;
869
			long todayOverallCall = 0;
870
			if (!remarkIds.isEmpty()) {
870
			if (!remarkIds.isEmpty()) {
871
				todayOverallCall = partnerCollectionRemarkRepository.selectByIds(remarkIds).stream()
871
				todayOverallCall = partnerCollectionRemarkRepository.selectByIds(remarkIds).stream()
872
						.filter(x -> x.getCreateTimestamp().toLocalDate().equals(LocalDate.now().minusDays(1)))
872
						.filter(x -> x.getCreateTimestamp().toLocalDate().equals(LocalDate.now()))
873
						.collect(Collectors.counting());
873
						.collect(Collectors.counting());
874
 
874
 
875
			}
875
			}
876
 
876
 
877
			ChartLeadModel cm = this
877
			ChartLeadModel cm = this