docs: public static Object sqlRS(DataSource ds, String sql, Function<ResultSet, Object> fun) {
          try (Connection conn = ds.getConnection();
                  Statement stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY)) {
              stmt.setFetchSize(Integer.MIN_VALUE);
              try (ResultSet rs = stmt.executeQuery(sql)) {
                  return fun.apply(rs);
              }
          } catch (Exception e) {
              logger.error("sqlRs has error, sql: {} ", sql);
              throw new RuntimeException(e);
          }
      }