Subversion Repositories SmartDukaan

Rev

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

Rev 28345 Rev 28347
Line 480... Line 480...
480
 
480
 
481
		return responseSender.ok(customerOrderDetails);
481
		return responseSender.ok(customerOrderDetails);
482
	}
482
	}
483
 
483
 
484
	@RequestMapping(value = "/store/listing", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
484
	@RequestMapping(value = "/store/listing", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
485
	@Cacheable(value = "storelisting.all", cacheManager = "thirtyMinsTimeOutCacheManager")
-
 
486
	public ResponseEntity<?> getStoresListing(HttpServletRequest request) throws Exception {
485
	public ResponseEntity<?> getStoresListing(HttpServletRequest request) throws Exception {
487
		List<WebListing> webListings = webListingRepository.selectAllWebListing(Optional.of(true));
486
		List<WebListing> webListings = webListingRepository.selectAllWebListing(Optional.of(true));
488
		UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
487
		UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
489
		for (WebListing webListing : webListings) {
488
		for (WebListing webListing : webListings) {
490
			webListing.setFofoCatalogResponses(getDealResponses(userInfo, webListing));
489
			webListing.setFofoCatalogResponses(getDealResponses(userInfo, webListing));