| Line 82... |
Line 82... |
| 82 |
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
|
82 |
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
|
| 83 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
83 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
| 84 |
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
|
84 |
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
|
| 85 |
import com.spice.profitmandi.dao.model.BrandWisePartnerSaleModel;
|
85 |
import com.spice.profitmandi.dao.model.BrandWisePartnerSaleModel;
|
| 86 |
import com.spice.profitmandi.dao.model.CreateOfferRequest;
|
86 |
import com.spice.profitmandi.dao.model.CreateOfferRequest;
|
| - |
|
87 |
import com.spice.profitmandi.dao.model.InStockBrandModel;
|
| 87 |
import com.spice.profitmandi.dao.model.ItemTypeParams;
|
88 |
import com.spice.profitmandi.dao.model.ItemTypeParams;
|
| 88 |
import com.spice.profitmandi.dao.model.ItemWiseTertiaryModel;
|
89 |
import com.spice.profitmandi.dao.model.ItemWiseTertiaryModel;
|
| 89 |
import com.spice.profitmandi.dao.model.MonthSaleModel;
|
90 |
import com.spice.profitmandi.dao.model.MonthSaleModel;
|
| 90 |
import com.spice.profitmandi.dao.model.PartnerDetailModel;
|
91 |
import com.spice.profitmandi.dao.model.PartnerDetailModel;
|
| 91 |
import com.spice.profitmandi.dao.model.PartnerPendingIndentItemModel;
|
92 |
import com.spice.profitmandi.dao.model.PartnerPendingIndentItemModel;
|
| Line 1604... |
Line 1605... |
| 1604 |
model.addAttribute("accesorieslmtdsale", accesorieslmtdsale);
|
1605 |
model.addAttribute("accesorieslmtdsale", accesorieslmtdsale);
|
| 1605 |
model.addAttribute("customRetailer", customRetailer);
|
1606 |
model.addAttribute("customRetailer", customRetailer);
|
| 1606 |
return "partner-brand-lmtd-sale";
|
1607 |
return "partner-brand-lmtd-sale";
|
| 1607 |
}
|
1608 |
}
|
| 1608 |
|
1609 |
|
| - |
|
1610 |
@RequestMapping(value = "/getPatnerInStock", method = RequestMethod.GET)
|
| - |
|
1611 |
public String getPatnerInStock(HttpServletRequest request,
|
| - |
|
1612 |
@RequestParam(name = ProfitMandiConstants.FOFO_ID) int fofoId, Model model) throws Exception {
|
| - |
|
1613 |
|
| - |
|
1614 |
CustomRetailer customRetailer = retailerService.getFofoRetailer(fofoId);
|
| - |
|
1615 |
|
| - |
|
1616 |
List<InStockBrandModel> mobileStock = currentInventorySnapshotRepository
|
| - |
|
1617 |
.selectSumInStockMobileGroupByBrand(fofoId);
|
| - |
|
1618 |
|
| - |
|
1619 |
List<InStockBrandModel> assStock = currentInventorySnapshotRepository
|
| - |
|
1620 |
.selectSumInStockAccessoriesGroupByBrand(fofoId);
|
| - |
|
1621 |
|
| - |
|
1622 |
model.addAttribute("mobileStock", mobileStock);
|
| - |
|
1623 |
model.addAttribute("assStock", assStock);
|
| - |
|
1624 |
model.addAttribute("customRetailer", customRetailer);
|
| - |
|
1625 |
return "partner-instock-item";
|
| - |
|
1626 |
}
|
| - |
|
1627 |
|
| 1609 |
}
|
1628 |
}
|