Subversion Repositories SmartDukaan

Rev

Rev 35435 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35435 Rev 35458
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)
-
 
61
	public ResponseEntity<?> getById(HttpServletRequest request, @RequestParam(name = "id") int id)throws ProfitMandiBusinessException{
60
	public ResponseEntity<?> getById(HttpServletRequest request, @RequestParam(name = "id") int id)throws ProfitMandiBusinessException{
62
		LOGGER.info("requested url : "+request.getRequestURL().toString());
61
		LOGGER.info("requested url : "+request.getRequestURL().toString());
63
		return responseSender.ok(shopRepository.selectById(id));
62
		return responseSender.ok(shopRepository.selectById(id));
64
	}
63
	}
65
	
64