Commit 48c0b30b378bf0e3710860771677ddf8c500c5bf
1 parent
9ea10ca75a
Exists in
master
and in
6 other branches
威海产后观察
Showing 1 changed file with 8 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
48c0b30
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | import com.lyms.hospitalapi.pojo.WhfyHisModel; |
| 7 | 7 | import com.lyms.hospitalapi.whfy.WhfyHisService; |
| 8 | 8 | import com.lyms.platform.biz.service.*; |
| 9 | +import com.lyms.platform.common.base.PageInfo; | |
| 9 | 10 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| 10 | 11 | import com.lyms.platform.common.dao.operator.MongoOper; |
| 11 | 12 | import com.lyms.platform.common.enums.*; |
| 12 | 13 | |
| 13 | 14 | |
| ... | ... | @@ -2147,12 +2148,18 @@ |
| 2147 | 2148 | matDeliverQuery.setCunZai(sList); |
| 2148 | 2149 | } |
| 2149 | 2150 | }else if("1".equals(childbirthManagerRequest.getGcStatus())){ |
| 2151 | + List<String> sList = new ArrayList<String>(); | |
| 2150 | 2152 | if(CollectionUtils.isNotEmpty(prList)){ |
| 2151 | - List<String> sList = new ArrayList<String>(); | |
| 2152 | 2153 | for(PostpartumRecords p : prList){ |
| 2153 | 2154 | sList.add(p.getMaternalDeliverId()); |
| 2154 | 2155 | } |
| 2155 | 2156 | matDeliverQuery.setIds(sList); |
| 2157 | + }else{ | |
| 2158 | + childbirthManagerResult.setPageInfo(new PageInfo(childbirthManagerRequest.getPage(),1,0,childbirthManagerRequest.getLimit())); | |
| 2159 | + childbirthManagerResult.setData(null); | |
| 2160 | + childbirthManagerResult.setErrorcode(ErrorCodeConstants.SUCCESS); | |
| 2161 | + childbirthManagerResult.setErrormsg(ErrorCodeConstants.SUCCESS_DESCRIPTION); | |
| 2162 | + return childbirthManagerResult; | |
| 2156 | 2163 | } |
| 2157 | 2164 | } |
| 2158 | 2165 | } |