@Override
	public List<DishDetail> getSameTasteDish(String taste, long restId,int pageNum,int pageSize) {
		List<DishDetail> list = null;
		PageBean<DishDetail> page = new PageBean<DishDetail>();
		
		try {
		
			page.setPageSize(pageSize);
			page.setCurrentPage(pageNum);	
	
			list = dishDao.getSameTasteDish(taste, restId, page);
		} catch (Exception e) {
			logger.warn("加载同口味菜品出错", e);
			return null;
		}
		
		return list;
	}