Commit 9a3a161c37c4acd6224df4cc199af2df15ae8c48
1 parent
2cd8d85b87
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 @
9a3a161
... | ... | @@ -412,7 +412,7 @@ |
412 | 412 | int [] months = null; |
413 | 413 | months = getInts(months, month); |
414 | 414 | int month1 = months[0]; |
415 | - List<BabyEvaluationCriterionModel> ecmodels = mongoTemplate.find(Query.query(Criteria.where("month").lte(month1).and("type").is(3)), BabyEvaluationCriterionModel.class); | |
415 | + List<BabyEvaluationCriterionModel> ecmodels = mongoTemplate.find(Query.query(Criteria.where("month").lt(month1).and("type").is(3)), BabyEvaluationCriterionModel.class); | |
416 | 416 | for (BabyEvaluationCriterionModel m : ecmodels) { |
417 | 417 | zl += m.getProjectVal(); |
418 | 418 | } |