Commit 2dc97ddd74024427c870d0e599bd2e210727b00a
1 parent
a1fd321c25
Exists in
master
and in
6 other branches
12333
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TrackDownServiceImpl.java
View file @
2dc97dd
... | ... | @@ -9,6 +9,7 @@ |
9 | 9 | import com.lyms.platform.common.utils.StringUtils; |
10 | 10 | import com.lyms.platform.operate.web.facade.AutoMatchFacade; |
11 | 11 | import com.lyms.platform.operate.web.service.ITrackDownService; |
12 | +import com.lyms.platform.operate.web.utils.CollectionUtils; | |
12 | 13 | import com.lyms.platform.operate.web.utils.MongoUtil; |
13 | 14 | import com.lyms.platform.pojo.Patients; |
14 | 15 | import com.lyms.platform.pojo.ResidentsArchiveModel; |
15 | 16 | |
... | ... | @@ -76,9 +77,10 @@ |
76 | 77 | temp.put("fmType", ""); // 分娩方式 1=顺产, 2=剖宫产 |
77 | 78 | temp.put("chfc", ""); // 产后复查 1=勾勾 2=叉叉 |
78 | 79 | temp.put("chfcCount", ""); // 复查次数 |
80 | + restList.add(temp); | |
79 | 81 | } |
80 | 82 | |
81 | - return RespBuilder.buildSuccess(new PageResult(restList.size(), page, limit, restList)); | |
83 | + return RespBuilder.buildSuccess(new PageResult(restList.size(), page, limit, CollectionUtils.getPageIds(restList, page, limit))); | |
82 | 84 | } |
83 | 85 | |
84 | 86 | public BaseResponse add(Integer userId, TrackDown trackDown) { |