docs: protected static Object getParamValue(MetaObject paramsObject, String paramName, boolean required) {
          Object value = null;
          if (paramsObject.hasGetter(PARAMS.get(paramName))) {
              value = paramsObject.getValue(PARAMS.get(paramName));
          }
          if (value != null && value.getClass().isArray()) {
              Object[] values = (Object[]) value;
              if (values.length == 0) {
                  value = null;
              } else {
                  value = values[0];
              }
          }
          if (required && value == null) {
              throw new PageException("分页查询缺少必要的参数:" + PARAMS.get(paramName));
          }
          return value;
      }