Subversion Repositories SmartDukaan

Rev

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

Rev 32898 Rev 32899
Line 222... Line 222...
222
 
222
 
223
    @RequestMapping(value = "/getPricing", method = RequestMethod.GET)
223
    @RequestMapping(value = "/getPricing", method = RequestMethod.GET)
224
    public String getPricing(HttpServletRequest request, @RequestParam int vendorId, @RequestParam int itemId, @RequestParam LocalDate onDate, Model model) throws Exception {
224
    public String getPricing(HttpServletRequest request, @RequestParam int vendorId, @RequestParam int itemId, @RequestParam LocalDate onDate, Model model) throws Exception {
225
 
225
 
226
        Item item = itemRepository.selectById(itemId);
226
        Item item = itemRepository.selectById(itemId);
-
 
227
        if (vendorId==406 || vendorId == 419) {
-
 
228
            vendorId = 325;
-
 
229
        }
227
        VendorPriceCircularModel vendorPriceCircularModel = vendorCatalogPricingLogRepository.getVendorPriceOnDate(vendorId, item.getCatalogItemId(), onDate);
230
        VendorPriceCircularModel vendorPriceCircularModel = vendorCatalogPricingLogRepository.getVendorPriceOnDate(vendorId, item.getCatalogItemId(), onDate);
228
 
231
 
229
        LOGGER.info("vendorCatalogPricing {}", vendorPriceCircularModel);
232
        LOGGER.info("vendorCatalogPricing {}", vendorPriceCircularModel);
230
 
233
 
231
 
234