| Line 1002... |
Line 1002... |
| 1002 |
partnersBrandSaleMap.put(un.getBrand(), bpt);
|
1002 |
partnersBrandSaleMap.put(un.getBrand(), bpt);
|
| 1003 |
}
|
1003 |
}
|
| 1004 |
}
|
1004 |
}
|
| 1005 |
accessoriesBrandSales = fofoStoreRepository
|
1005 |
accessoriesBrandSales = fofoStoreRepository
|
| 1006 |
.selectGroupByBrandAccesoriesWarehousePartnerSale(new ArrayList<>(fofoIds));
|
1006 |
.selectGroupByBrandAccesoriesWarehousePartnerSale(new ArrayList<>(fofoIds));
|
| 1007 |
Set<CustomRetailer> positionRetailers = fofoIds.stream().map(x->retailerService.getAllFofoRetailers().get(fofoId)).filter(x->x!=null).collect(Collectors.toSet());
|
1007 |
Set<CustomRetailer> positionRetailers = fofoIds.stream().map(x->retailerService.getAllFofoRetailers().get(x)).filter(x->x!=null).collect(Collectors.toSet());
|
| 1008 |
model.addAttribute("retailers", gson.toJson(positionRetailers));
|
1008 |
model.addAttribute("retailers", gson.toJson(positionRetailers));
|
| 1009 |
model.addAttribute("reporticoProjectMap", ReporticoProject.salesReporticoProjectMap);
|
1009 |
model.addAttribute("reporticoProjectMap", ReporticoProject.salesReporticoProjectMap);
|
| 1010 |
model.addAttribute("warehouses", getWarehouses(positionRetailers));
|
1010 |
model.addAttribute("warehouses", getWarehouses(positionRetailers));
|
| 1011 |
}
|
1011 |
}
|
| 1012 |
|
1012 |
|