Commit 08480ffa71315b44600d936180296e441fbfd514
1 parent
3ed5fe4271
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
08480ff
| ... | ... | @@ -2970,8 +2970,10 @@ |
| 2970 | 2970 | if (CollectionUtils.isEmpty(infoModels)) { |
| 2971 | 2971 | infoModels = new ArrayList<WxMeasureInfoModel>(); |
| 2972 | 2972 | } |
| 2973 | + for (int i = 0; i < infoModels.size(); i++) { | |
| 2974 | + Collections.reverse(infoModels.get(i).getBabyInfos()); | |
| 2975 | + } | |
| 2973 | 2976 | BaseListResponse baseResponse = new BaseListResponse(); |
| 2974 | - Collections.reverse(infoModels); | |
| 2975 | 2977 | baseResponse.setData(infoModels); |
| 2976 | 2978 | baseResponse.setPageInfo(param.getPageInfo()); |
| 2977 | 2979 | return baseResponse; |