Commit 2dce2bcef52871452075e601ce2d3e9815f1d6ca
1 parent
21f2c7cb0f
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java
View file @
2dce2bc
| ... | ... | @@ -579,7 +579,7 @@ |
| 579 | 579 | if (StringUtils.isEmpty(babyId)) { |
| 580 | 580 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("参数缺失"); |
| 581 | 581 | } |
| 582 | - List<BabyNerveMovementModel> models = mongoTemplate.find(Query.query(Criteria.where("babyId").is(babyId)).with(new Sort(new Sort.Order(Sort.Direction.DESC, "createTime"))), BabyNerveMovementModel.class); | |
| 582 | + List<BabyNerveMovementModel> models = mongoTemplate.find(Query.query(Criteria.where("babyId").is(babyId)).with(new Sort(new Sort.Order(Sort.Direction.ASC, "createTime"))), BabyNerveMovementModel.class); | |
| 583 | 583 | List<Map<String, String>> list = new LinkedList<>(); |
| 584 | 584 | if (CollectionUtils.isNotEmpty(models)) { |
| 585 | 585 | for(BabyNerveMovementModel model : models) |