Subversion Repositories SmartDukaan

Rev

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

Rev 27907 Rev 28377
Line 76... Line 76...
76
	// "thirtyMinsTimeOutCacheManager")
76
	// "thirtyMinsTimeOutCacheManager")
77
	public Map<Integer, PartnerDetailModel> getAllPartnerStats() throws ProfitMandiBusinessException {
77
	public Map<Integer, PartnerDetailModel> getAllPartnerStats() throws ProfitMandiBusinessException {
78
		LocalDateTime curDate = LocalDate.now().atStartOfDay();
78
		LocalDateTime curDate = LocalDate.now().atStartOfDay();
79
		Map<Integer, Double> lmtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
79
		Map<Integer, Double> lmtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
80
				curDate.withDayOfMonth(1).minusMonths(1), curDate.with(LocalTime.MAX).minusMonths(1), 0, false);
80
				curDate.withDayOfMonth(1).minusMonths(1), curDate.with(LocalTime.MAX).minusMonths(1), 0, false);
-
 
81
		
81
		Map<Integer, Double> mtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(curDate.withDayOfMonth(1),
82
		Map<Integer, Double> mtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(curDate.withDayOfMonth(1),
82
				curDate.with(LocalTime.MAX), 0, false);
83
				curDate.with(LocalTime.MAX), 0, false);
83
 
84
 
84
		Map<Integer, Double> lmsSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
85
		Map<Integer, Double> lmsSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
85
				curDate.withDayOfMonth(1).minusMonths(1), curDate.withDayOfMonth(1), 0, false);
86
				curDate.withDayOfMonth(1).minusMonths(1), curDate.withDayOfMonth(1), 0, false);