Subversion Repositories SmartDukaan

Rev

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

Rev 23568 Rev 35435
Line 55... Line 55...
55
		return responseSender.ok(ResponseCodeHolder.getMessage("API_OK_1000"));
55
		return responseSender.ok(ResponseCodeHolder.getMessage("API_OK_1000"));
56
		
56
		
57
	}
57
	}
58
	
58
	
59
	@RequestMapping(value = ProfitMandiConstants.URL_SHOP_ID, method=RequestMethod.GET)
59
	@RequestMapping(value = ProfitMandiConstants.URL_SHOP_ID, method=RequestMethod.GET)
-
 
60
	@Transactional(readOnly = true)
60
	public ResponseEntity<?> getById(HttpServletRequest request, @RequestParam(name = "id") int id)throws ProfitMandiBusinessException{
61
	public ResponseEntity<?> getById(HttpServletRequest request, @RequestParam(name = "id") int id)throws ProfitMandiBusinessException{
61
		LOGGER.info("requested url : "+request.getRequestURL().toString());
62
		LOGGER.info("requested url : "+request.getRequestURL().toString());
62
		return responseSender.ok(shopRepository.selectById(id));
63
		return responseSender.ok(shopRepository.selectById(id));
63
	}
64
	}
64
	
65