public static List<Map<String, Object>> resultSet2Map(ResultSet result, Vector<String> cols) throws BasException {
		List<Map<String, Object>> list = new LinkedList<Map<String, Object>>();
		if (result != null) {
			try {
				while (result.next()) {
					Map<String, Object> row = new TreeMap<String, Object>();
					for (String col : cols) {
						Object colObj = result.getObject(col);
						if (byte[].class.getSimpleName().equals(colObj.getClass().getSimpleName())) {
							colObj = BasUtil.byteTOString((byte[]) colObj);
						} else if (BigDecimal.class.getSimpleName().equals(colObj.getClass().getSimpleName())) {
							colObj = Integer.valueOf(((BigDecimal) colObj).intValue());
						}
						row.put(col, colObj);
					}
					list.add(row);
				}
			} catch (Exception e) {
				log.error(e.getMessage(), e);
				throw new BasException(BasErrCode.E10016, cols.toString());
			}
		}
		return list;
	}