@RequestMapping(value="/orderList",method=RequestMethod.GET)
	public ModelAndView getOrderList(){
		
		List<List<String>> orderList = (List<List<String>>) session.getAttribute("order");
		
		OrderOfDetail ood  = null;
		
		if(null == orderList){
			logger.warn("获取订单失败");
			return new ModelAndView("page403");//返回一个错误页面
		}
		
		try {
			ood = orderService.getOrderDetail(orderList);
			
			ood.setRestName(restaurantService.getRestaurantByRestId(ood.getRestId()).get(0).getRestName());
		} catch (Exception e) {
			logger.warn("", e);
			return new ModelAndView("page403");
		}
		//session.removeAttribute("order");
		
		if(null == session.getAttribute("orders"))
			session.setAttribute("orders", ood);
		else{
			session.removeAttribute("orders");
			session.setAttribute("orders", ood);
		}
		
		
		
		return new ModelAndView("orderList","order",ood);
	}