Commit 78283bb5a0fa7b4ca8b8f6cbf12ddbecd3857450
1 parent
7a0552a180
Exists in
master
and in
8 other branches
code update
Showing 1 changed file with 7 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
78283bb
... | ... | @@ -126,15 +126,21 @@ |
126 | 126 | |
127 | 127 | list.add(checkRecord); |
128 | 128 | } |
129 | + | |
130 | + Collections.reverse(list); | |
129 | 131 | } |
130 | 132 | //查询儿童的基本信息 |
131 | 133 | BabyModel model = babyCheckFacade.getBabyModel(babyId, base); |
132 | 134 | |
135 | + | |
136 | + List<Map<String, String>> tempList = new ArrayList<>(); | |
133 | 137 | if(CollectionUtils.isNotEmpty(models)){ |
134 | 138 | for(BabyModel babyModel:models){ |
135 | - babyCheckFacade.getBabyCheckList(babyModel.getId(), babyModel, list); | |
139 | + babyCheckFacade.getBabyCheckList(babyModel.getId(), babyModel, tempList); | |
136 | 140 | } |
137 | 141 | } |
142 | + | |
143 | + list.addAll(tempList); | |
138 | 144 | |
139 | 145 | resMap.put("baseInfo", base); |
140 | 146 | resMap.put("checkList", list); |