Commit fce79c0bfb6a7c28113a7a30328e0d8cd992838d
1 parent
75da28ccac
Exists in
master
and in
6 other branches
bbbbbb
Showing 1 changed file with 2 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
fce79c0
| ... | ... | @@ -672,14 +672,9 @@ |
| 672 | 672 | |
| 673 | 673 | } |
| 674 | 674 | |
| 675 | - /*if (MapUtils.isNotEmpty(dayWeights)) { | |
| 676 | - Set<Map.Entry<String, String>> entries = dayWeights.entrySet(); | |
| 677 | - for (Map.Entry<String, String> entry : entries) { | |
| 678 | - weights.put(DateUtil.getWeek2(patients.getLastMenses(), DateUtil.parseYMD(entry.getKey())), entry.getValue()); | |
| 679 | - } | |
| 680 | - }*/ | |
| 681 | 675 | if(tzFlag) { |
| 682 | - setReport(tzMap, weights, antExChuModels.get(antExChuModels.size() - 1).getYqWeight(), PatientWeightServiceImpl.getBmi(antExChuModels.get(antExChuModels.size() - 1).getYqWeight(), antExChuModels.get(antExChuModels.size() - 1).getHeight())); | |
| 676 | + setReport(tzMap, weights, antExChuModels.get(0).getYqWeight(), PatientWeightServiceImpl.getBmi(antExChuModels.get(0).getYqWeight(), antExChuModels.get(0).getHeight())); | |
| 677 | +// setReport(tzMap, weights, antExChuModels.get(antExChuModels.size() - 1).getYqWeight(), PatientWeightServiceImpl.getBmi(antExChuModels.get(antExChuModels.size() - 1).getYqWeight(), antExChuModels.get(antExChuModels.size() - 1).getHeight())); | |
| 683 | 678 | } |
| 684 | 679 | |
| 685 | 680 | CollectionUtils.sortListByMapKeyWithDateYmd(restList, "checkTime"); |