@RequestMapping(value = "samePrice", method = RequestMethod.GET)
	public ModelAndView loadSamePrice() {
		SmartCommonDishs scd = new SmartCommonDishs();

		int pageNum = DishUtil.INITPAGENUM;

		int pageSize = DishUtil.ListNUM;

		long restId = 100000;

		float price = 20;

		String pageParam = request.getParameter("pageNum");

		String pageParam1 = request.getParameter("pageSize");

		String priceParam = request.getParameter("price");

		if (null != pageParam)
			pageNum = Integer.parseInt(pageParam);

		if (null != pageParam1)
			pageSize = Integer.parseInt(pageParam1);

		if (null != priceParam)
			price = Float.parseFloat(priceParam);

		if (null != session.getAttribute("restId"))
			restId = (Long) session.getAttribute("restId");
		
		try {
		
			List<DishDetail> list = dishService.getSamePricDish(price, restId, pageNum, pageSize);

			scd.setRestId(restId);

			scd.setSmartType(SmartType.SAMEPRICE);

			scd.setSmartTypeNum(SmartType.SAMEPRICENUM);

			scd.setDishs(list);

		} catch (Exception e) {
			logger.warn("同价格菜品加载出错", e);
		}
		
		return new ModelAndView("commonDish", "dishs", scd);
	}