Commit 3c8e6123130919673bf7b0ae19a84ef77fff0b8f
1 parent
f780e8710e
Exists in
master
and in
1 other branch
修改产妇管理根据日期查询
Showing 3 changed files with 14 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/result/BaseListResponse.java
View file @
3c8e612
| 1 | 1 | package com.lyms.platform.common.result; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.common.base.PageInfo; | |
| 4 | + | |
| 3 | 5 | import java.util.List; |
| 4 | 6 | |
| 5 | 7 | @SuppressWarnings("rawtypes") |
| ... | ... | @@ -10,6 +12,16 @@ |
| 10 | 12 | private static final long serialVersionUID = 1L; |
| 11 | 13 | |
| 12 | 14 | protected List data; |
| 15 | + protected PageInfo pageInfo; | |
| 16 | + | |
| 17 | + public PageInfo getPageInfo() { | |
| 18 | + return pageInfo; | |
| 19 | + } | |
| 20 | + | |
| 21 | + public BaseListResponse setPageInfo(PageInfo pageInfo) { | |
| 22 | + this.pageInfo = pageInfo; | |
| 23 | + return this; | |
| 24 | + } | |
| 13 | 25 | |
| 14 | 26 | public List getData() { |
| 15 | 27 | return data; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyManagerFacade.java
View file @
3c8e612
| ... | ... | @@ -124,7 +124,7 @@ |
| 124 | 124 | } |
| 125 | 125 | }*/ |
| 126 | 126 | |
| 127 | - return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(data); | |
| 127 | + return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(data).setPageInfo(patientsQuery.getPageInfo()); | |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
3c8e612
| ... | ... | @@ -106,7 +106,7 @@ |
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(data); | |
| 109 | + return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(data).setPageInfo(puerperaQuery.getPageInfo()); | |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |