Commit 5b2d8a0015358d771afbf535b0d6d595f274955a
1 parent
c52ee6b77c
Exists in
master
and in
6 other branches
儿保排序
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
5b2d8a0
| ... | ... | @@ -669,7 +669,7 @@ |
| 669 | 669 | query.setYn(YnEnums.YES.getId()); |
| 670 | 670 | query.setBuildIds(ids); |
| 671 | 671 | //查询儿童的检查记录 |
| 672 | - checkModels = babyCheckService.queryBabyCheckRecord(query, "checkDate,created", Sort.Direction.DESC); | |
| 672 | + checkModels = babyCheckService.queryBabyCheckRecord(query, "checkDate,created", Sort.Direction.ASC); | |
| 673 | 673 | Date babyBirth = personModel.getBirth(); |
| 674 | 674 | if (CollectionUtils.isNotEmpty(checkModels)) { |
| 675 | 675 | |
| ... | ... | @@ -708,7 +708,7 @@ |
| 708 | 708 | list.add(checkRecord); |
| 709 | 709 | } |
| 710 | 710 | |
| 711 | - Collections.reverse(list); | |
| 711 | + // Collections.reverse(list); | |
| 712 | 712 | } |
| 713 | 713 | } |
| 714 | 714 | } |