public static List<String[]> getMstxSort() {// 得到美食的全部种类
		List<String[]> result = new ArrayList<String[]>();
		Connection con = DBUtil.getConnection();
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		try {
			pstmt = con.prepareStatement("select sid,info_sort from mstx_sort;");
			rs = pstmt.executeQuery();// 查询
			while (rs.next()) {
				String sid = rs.getString(1);
				String info_sort = rs.getString(2);
				String[] strs = new String[2];
				strs[0] = sid;
				strs[1] = info_sort;
				result.add(strs);
			}
		} catch (Exception e) {// 捕获异常
			e.printStackTrace();// 打印异常信息
		} finally {
			try {
				if (rs != null) {
					rs.close();
					rs = null;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
			try {
				if (pstmt != null) {
					pstmt.close();
					pstmt = null;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
			try {
				if (con != null) {
					con.close();
					con = null;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		return result;
	}