Subversion Repositories SmartDukaan

Rev

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

Rev 35541 Rev 35543
Line 2434... Line 2434...
2434
        return "monthly-partner-sale";
2434
        return "monthly-partner-sale";
2435
 
2435
 
2436
    }
2436
    }
2437
 
2437
 
2438
    @RequestMapping(value = "/getMonthWisePurchase", method = RequestMethod.POST)
2438
    @RequestMapping(value = "/getMonthWisePurchase", method = RequestMethod.POST)
2439
    public String getMonthWisePurchase(HttpServletRequest request, @RequestParam List<Integer> fofoIds, Model
2439
    public String getMonthWisePurchase(HttpServletRequest request, @RequestBody List<Integer> fofoIds, Model
2440
            model) throws Exception {
2440
            model) throws Exception {
2441
 
2441
 
2442
        YearMonth now = YearMonth.now();
2442
        YearMonth now = YearMonth.now();
2443
        YearMonth ym = YearMonth.now().minusMonths(12);
2443
        YearMonth ym = YearMonth.now().minusMonths(12);
2444
        List<YearMonth> list = new ArrayList<>();
2444
        List<YearMonth> list = new ArrayList<>();