Commit bcdc6f5e8298b1d4bd4c165ef6d6a9569b413594
1 parent
f725ec7bd0
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/worker/HugeQuanWeightWorker.java
View file @
bcdc6f5
| ... | ... | @@ -49,7 +49,6 @@ |
| 49 | 49 | List<Map> data = new ArrayList<>(); |
| 50 | 50 | for (Patients patients : patientses) |
| 51 | 51 | if (StringUtils.isNotEmpty(patients.getId())) { |
| 52 | - Map map = new HashMap(); | |
| 53 | 52 | |
| 54 | 53 | Query querymd = Query.query(Criteria.where("parentId").is(patients.getId()).and("yn").ne("0")); |
| 55 | 54 | List<MaternalDeliverModel> deliverModels = mongoTemplate.find(querymd, MaternalDeliverModel.class); |
| ... | ... | @@ -61,6 +60,7 @@ |
| 61 | 60 | if(StringUtils.isNotEmpty(baby1.getBabyWeight())){ |
| 62 | 61 | double babyWeight = Double.parseDouble(baby1.getBabyWeight()); |
| 63 | 62 | if(babyWeight >= 4000){ |
| 63 | + Map map = new HashMap(); | |
| 64 | 64 | map.put("babyWeight", baby1.getBabyWeight()); |
| 65 | 65 | patientsMap(patients, map); |
| 66 | 66 | patientWeightMap(patients, map); |