Support replace Jpa Pageable
This commit is contained in:
parent
8e2b86b39d
commit
7415c19c90
|
@ -13,6 +13,7 @@
|
|||
7. 修复doc模板错误,gitee #I3Y640。
|
||||
8. 修复字典模板错误,#119。
|
||||
9. 忽略HttpServlet对象。
|
||||
10. 支持内置替换Jpa Pageable对象的对象,去除不必要的请求参数。
|
||||
|
||||
#### 版本号:2.2.1
|
||||
|
||||
|
|
|
@ -257,7 +257,7 @@ public class DocClassUtil {
|
|||
public static String rewriteRequestParam(String typeName) {
|
||||
switch (typeName) {
|
||||
case "org.springframework.data.domain.Pageable":
|
||||
return "org.springframework.data.domain.PageRequest";
|
||||
return "com.power.doc.model.framework.PageableAsQueryParam";
|
||||
default:
|
||||
return typeName;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue