Subversion Repositories SmartDukaan

Rev

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

Rev 36501 Rev 36521
Line 408... Line 408...
408
                    "Existing batch for this offer is not fully processed yet",
408
                    "Existing batch for this offer is not fully processed yet",
409
                    "Existing batch for this offer is not fully processed yet");
409
                    "Existing batch for this offer is not fully processed yet");
410
        }
410
        }
411
        Offer offer = offerRepository.selectById(offerId);
411
        Offer offer = offerRepository.selectById(offerId);
412
        offer.setProcessedTimestamp(LocalDateTime.now());
412
        offer.setProcessedTimestamp(LocalDateTime.now());
-
 
413
        offerService.evictOfferDefinitionCache(offerId);
413
        String message = offerBatchService.submitBatchAsync(offerId);
414
        String message = offerBatchService.submitBatchAsync(offerId);
414
        return responseSender.ok(message);
415
        return responseSender.ok(message);
415
    }
416
    }
416
 
417
 
417
    @RequestMapping(value = "/offerDownload", method = RequestMethod.GET)
418
    @RequestMapping(value = "/offerDownload", method = RequestMethod.GET)