Subversion Repositories SmartDukaan

Rev

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

Rev 32091 Rev 32093
Line 171... Line 171...
171
                }
171
                }
172
            }
172
            }
173
        }
173
        }
174
 
174
 
175
 
175
 
176
        if (retailerFilter.getMtdsPct() != null) {
176
        if (retailerFilter.getMtdtPct() != null) {
177
            Map<Integer, Double> lmtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
177
            Map<Integer, Double> lmtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(
178
                    curDate.withDayOfMonth(1).minusMonths(1), curDate.with(LocalTime.MAX).minusMonths(1), 0, false);
178
                    curDate.withDayOfMonth(1).minusMonths(1), curDate.with(LocalTime.MAX).minusMonths(1), 0, false);
179
            Map<Integer, Double> mtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(curDate.withDayOfMonth(1), curDate.with(LocalTime.MAX), 0, false);
179
            Map<Integer, Double> mtdSale = fofoOrderItemRepository.selectSumMopGroupByRetailer(curDate.withDayOfMonth(1), curDate.with(LocalTime.MAX), 0, false);
180
 
180
 
181
            Set<Integer> fofoIds = new HashSet<>();
181
            Set<Integer> fofoIds = new HashSet<>();