diff --git a/pom.xml b/pom.xml
index 63520d6b..6d7d75d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
com.codingapi.springboot
springboot-parent
- 3.2.1
+ 3.2.2
https://github.com/codingapi/springboot-framewrok
springboot-parent
diff --git a/springboot-starter-data-fast/pom.xml b/springboot-starter-data-fast/pom.xml
index c908d95f..b669b35f 100644
--- a/springboot-starter-data-fast/pom.xml
+++ b/springboot-starter-data-fast/pom.xml
@@ -5,7 +5,7 @@
springboot-parent
com.codingapi.springboot
- 3.2.1
+ 3.2.2
4.0.0
diff --git a/springboot-starter-security/pom.xml b/springboot-starter-security/pom.xml
index 08dd814a..e5a3555f 100644
--- a/springboot-starter-security/pom.xml
+++ b/springboot-starter-security/pom.xml
@@ -6,7 +6,7 @@
springboot-parent
com.codingapi.springboot
- 3.2.1
+ 3.2.2
springboot-starter-security
diff --git a/springboot-starter/pom.xml b/springboot-starter/pom.xml
index 6c4b724c..d06e5a15 100644
--- a/springboot-starter/pom.xml
+++ b/springboot-starter/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
springboot-parent
- 3.2.1
+ 3.2.2
springboot-starter
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/dto/request/SearchRequest.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/dto/request/SearchRequest.java
index 168e6df6..e66a22c6 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/dto/request/SearchRequest.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/dto/request/SearchRequest.java
@@ -14,6 +14,7 @@
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Base64;
+import java.util.Enumeration;
import java.util.List;
/**
@@ -21,7 +22,9 @@
*/
public class SearchRequest {
+ @Getter
private int current;
+ @Getter
private int pageSize;
private final HttpServletRequest request;
@@ -63,6 +66,16 @@ public String[] getParameterValues(String key) {
return request.getParameterValues(key);
}
+
+ public List getParameterNames() {
+ Enumeration enumeration = request.getParameterNames();
+ List list = new ArrayList<>();
+ while (enumeration.hasMoreElements()) {
+ list.add(enumeration.nextElement());
+ }
+ return list;
+ }
+
public PageRequest addFilter(String key, Relation relation, Object... value) {
return pageRequest.addFilter(key, relation, value);
}