Commit 374f9decd05b64e351d6f1779d9f02744f7f322d
1 parent
daa8fef1b3
Exists in
master
and in
6 other branches
bug修复
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEyeCheckServiceImpl.java
View file @
374f9de
... | ... | @@ -214,7 +214,8 @@ |
214 | 214 | Integer count = babyEyeChecks.size(); |
215 | 215 | |
216 | 216 | List<BabyEyeCheck> datas = CollectionUtils.getPageIds(babyEyeChecks, page, limit); |
217 | - return RespBuilder.buildSuccess(new PageResult(count, page, limit, datas)); | |
217 | + List<Map<String, Object>> maps = setDatas(datas); | |
218 | + return RespBuilder.buildSuccess(new PageResult(count, page, limit, maps)); | |
218 | 219 | } |
219 | 220 | PageResult pageResult = findMongoPage(BabyEyeCheck.class, new Query(criteria).with(new Sort(Sort.Direction.DESC, "checkTime")), page, limit); |
220 | 221 | List<BabyEyeCheck> babyEyeChecks = (List<BabyEyeCheck>) pageResult.getGrid(); |