code: public <S> List<S> queryList(Class<S> type, String sql, List<Object> params) {
          return this.queryList(type, sql, params.toArray());
      }
docs: Querying a list
  
  @param type   model type
  @param sql    sql statement
  @param params params
  @param <S>
  @return List<S>