Commit 6c11130b8159e14b896f5b500798fd980b18879d

Authored by dongqin
1 parent 25374ada11

修复bug

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 @ 6c11130
... ... @@ -585,7 +585,7 @@
585 585 if (StringUtils.isNotEmpty(babyId)) {
586 586 Date firstSecond = getFirstSecond();
587 587 Date dayLastSecond = DateUtil.getDayLastSecond(new Date());
588   - final List<BabyNerveMovementModel> models = mongoTemplate.find(Query.query(Criteria.where("babyId").is(babyId).and("hospitalId").is(hospitalId).and("createTime").gte(firstSecond).lte(dayLastSecond)), BabyNerveMovementModel.class);
  588 + final List<BabyNerveMovementModel> models = mongoTemplate.find(Query.query(Criteria.where("babyId").is(babyId).and("hospitalId").is(hospitalId)), BabyNerveMovementModel.class);
589 589 mapList = new LinkedList<Map<String, String>>(){{
590 590 for (BabyNerveMovementModel model : models) {
591 591 Map<String, String> map = new HashMap<>();