Commit e244c03ec3e03506eed6a1157ec7c75fa67f99a5
1 parent
8c1aa2b6dc
Exists in
master
and in
6 other branches
接口分页bug修复
Showing 2 changed files with 7 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/result/BaseObjectResponse.java
View file @
e244c03
... | ... | @@ -17,8 +17,13 @@ |
17 | 17 | return pageInfo; |
18 | 18 | } |
19 | 19 | |
20 | - public void setPageInfo(PageInfo pageInfo) { | |
20 | +// public void setPageInfo(PageInfo pageInfo) { | |
21 | +// this.pageInfo = pageInfo; | |
22 | +// } | |
23 | + | |
24 | + public BaseObjectResponse setPageInfo(PageInfo pageInfo) { | |
21 | 25 | this.pageInfo = pageInfo; |
26 | + return this; | |
22 | 27 | } |
23 | 28 | |
24 | 29 | public Object getData() { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java
View file @
e244c03
... | ... | @@ -591,7 +591,7 @@ |
591 | 591 | datas.add(data); |
592 | 592 | } |
593 | 593 | } |
594 | - return new BaseObjectResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(datas); | |
594 | + return new BaseObjectResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(datas).setPageInfo(postReviewStatusQuery.getPageInfo()); | |
595 | 595 | |
596 | 596 | } |
597 | 597 |