public static Integer countRs(ResultSet rs) throws BasException {
		Integer count = 0;
		if (rs != null) {
			try {
				while (rs.next()) {
					count = rs.getInt("num");
				}
			} catch (SQLException e) {
				log.error(e.getMessage(), e);
				throw new BasException(BasErrCode.E10035);
			}
		}
		return count;
	}