Commit 21d8a25aca6eeac995b274c666e6ce7a80ddee35
1 parent
cddef924d1
Exists in
master
and in
6 other branches
update
Showing 3 changed files with 9 additions and 8 deletions
- platform-operate-api/src/main/java/com/lyms/hospitalapi/lhxfy/LhxfyService.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/ResidentsArchiveAddRequest.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java
platform-operate-api/src/main/java/com/lyms/hospitalapi/lhxfy/LhxfyService.java
View file @
21d8a25
... | ... | @@ -707,7 +707,7 @@ |
707 | 707 | ResidentsArchiveQuery residentsArchiveQuery = new ResidentsArchiveQuery(); |
708 | 708 | residentsArchiveQuery.setYn(YnEnums.YES.getId()); |
709 | 709 | residentsArchiveQuery.setBuildDateStart(start); |
710 | - residentsArchiveQuery.setBuildDateEnd(new Date()); | |
710 | + residentsArchiveQuery.setBuildDateEnd(DateUtil.addMonth(new Date(),10)); | |
711 | 711 | List<ResidentsArchiveModel> modelList = residentsArchiveService.queryResident(residentsArchiveQuery); |
712 | 712 | if (CollectionUtils.isNotEmpty(modelList)) |
713 | 713 | { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/ResidentsArchiveAddRequest.java
View file @
21d8a25
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java
View file @
21d8a25
... | ... | @@ -665,13 +665,13 @@ |
665 | 665 | } |
666 | 666 | } |
667 | 667 | Integer month = model.getCheckMonth(); |
668 | - int [] months = null; | |
669 | - months = getInts(months, month); | |
670 | - int month1 = months[0]; | |
671 | - List<BabyEvaluationCriterionModel> ecmodels = mongoTemplate.find(Query.query(Criteria.where("month").lt(month1).and("type").is(3)), BabyEvaluationCriterionModel.class); | |
672 | - for (BabyEvaluationCriterionModel m : ecmodels) { | |
673 | - zl += m.getProjectVal(); | |
674 | - } | |
668 | +// int [] months = null; | |
669 | +// months = getInts(months, month); | |
670 | +// int month1 = months[0]; | |
671 | +// List<BabyEvaluationCriterionModel> ecmodels = mongoTemplate.find(Query.query(Criteria.where("month").lt(month1).and("type").is(3)), BabyEvaluationCriterionModel.class); | |
672 | +// for (BabyEvaluationCriterionModel m : ecmodels) { | |
673 | +// zl += m.getProjectVal(); | |
674 | +// } | |
675 | 675 | |
676 | 676 | DecimalFormat df = new DecimalFormat("0.00"); |
677 | 677 | String zlStr = ""; |