| Line 1777... |
Line 1777... |
| 1777 |
|
1777 |
|
| 1778 |
model.addAttribute("accessoriesBrandSales", accessoriesBrandSales);
|
1778 |
model.addAttribute("accessoriesBrandSales", accessoriesBrandSales);
|
| 1779 |
return "accessories-brand-wise-report";
|
1779 |
return "accessories-brand-wise-report";
|
| 1780 |
}
|
1780 |
}
|
| 1781 |
|
1781 |
|
| 1782 |
@RequestMapping(value = "/getMobileLMSGraph", method = RequestMethod.GET)
|
1782 |
@RequestMapping(value = "/getMobileLMSGraph", method = RequestMethod.POST)
|
| 1783 |
public String getMobileLMSGraph(HttpServletRequest request, @RequestParam(required = false) int warehouseId,
|
1783 |
public String getMobileLMSGraph(HttpServletRequest request, @RequestParam(required = false) int warehouseId,
|
| 1784 |
@RequestParam(required = false) LocalDateTime date, @RequestParam(required = false) LocalDateTime endDate,
|
1784 |
@RequestParam(required = false) LocalDateTime date, @RequestParam(required = false) LocalDateTime endDate,
|
| 1785 |
@RequestParam List<Integer> fofoIds, @RequestParam String filterType, Model model) throws Exception {
|
1785 |
@RequestParam List<Integer> fofoIds, @RequestParam String filterType, Model model) throws Exception {
|
| 1786 |
Map<Integer, List<Integer>> warehouseIdFofoIdMap = fofoStoreRepository.selectActivePartnersByRetailerIds(new ArrayList<>(fofoIds)).stream().collect(Collectors.groupingBy(
|
1786 |
Map<Integer, List<Integer>> warehouseIdFofoIdMap = fofoStoreRepository.selectActivePartnersByRetailerIds(new ArrayList<>(fofoIds)).stream().collect(Collectors.groupingBy(
|
| 1787 |
FofoStore::getWarehouseId, Collectors.mapping(FofoStore::getId, Collectors.toList())));
|
1787 |
FofoStore::getWarehouseId, Collectors.mapping(FofoStore::getId, Collectors.toList())));
|