@RequestMapping(value="init",method=RequestMethod.GET)
	public ModelAndView initPage(){
		//接收餐厅的id，然后查出该餐厅的凉菜的前5种
		
		List<DishDetail> list = null;
		String paraString = "";
		
		long restId = 100000;
		
		pageNum = DishUtil.INITPAGENUM;
		
		listNum = DishUtil.ListNUM;
		
		category = Category.COLD.getNum();
		
		if(null != request.getParameter("restId"))
			restId = Long.parseLong(request.getParameter("restId"));
		if(null != (paraString=request.getParameter("category"))){
			try {
				category=Integer.parseInt(paraString);
			} catch (Exception e) {
				logger.warn("", e);
				category = Category.COLD.getNum();
			}
			
		}		
		
		//从其他的地方可以获取到这个restId
		
		if(null == session.getAttribute("restId"))
			session.setAttribute("restId", restId);
		else if(null != session.getAttribute("restId")){
			session.removeAttribute("restId");
			session.setAttribute("restId", restId);
		}
		
		try {
		    list = dishService.selectDishByRestIdAndCategory(restId, category, pageNum, listNum);
		} catch (Exception e) {
			logger.warn(" ",e);
			return new ModelAndView("page403");
		}
		
		return new ModelAndView("dishList","list",list);
		
	}