Commit d85307b14d96ba21f6694c00eb49dd95c5943df6
1 parent
aedc4e3c0e
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 4 additions and 3 deletions
platform-biz-service/src/main/resources/mainOrm/master/BabyDiagnoseMapper.xml
View file @
d85307b
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
d85307b
... | ... | @@ -829,12 +829,13 @@ |
829 | 829 | list.add(map); |
830 | 830 | } |
831 | 831 | if (null != checkMonthAge && null != endCheckMonthAge) { |
832 | + List<Map<String, Object>> list1 = new ArrayList<>(); | |
832 | 833 | for (Map<String, Object> mapList : list) { |
833 | 834 | if ((int) mapList.get("monthAge") >= checkMonthAge && (int) mapList.get("monthAge") <= endCheckMonthAge) { |
834 | - list.add(mapList); | |
835 | + list1.add(mapList); | |
835 | 836 | } |
836 | 837 | } |
837 | - pageResult.setGrid(list); | |
838 | + pageResult.setGrid(list1); | |
838 | 839 | return RespBuilder.buildSuccess(pageResult); |
839 | 840 | } else { |
840 | 841 | pageResult.setGrid(list); |