Commit 99b70119c3dfa867ff482ca4dbc7e2388d98bef9
1 parent
877a3e97eb
Exists in
master
and in
6 other branches
体重管理
Showing 1 changed file with 9 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
99b7011
... | ... | @@ -579,6 +579,15 @@ |
579 | 579 | } |
580 | 580 | } |
581 | 581 | |
582 | + if (dayWeights != null && dayWeights.size() > 0 && StringUtils.isNotEmpty(dayWeights.get(DateUtil.getyyyy_MM_dd(new Date())))) | |
583 | + { | |
584 | + map.put("isShow",true); | |
585 | + } | |
586 | + else | |
587 | + { | |
588 | + map.put("isShow",false); | |
589 | + } | |
590 | + | |
582 | 591 | setReport(map, weights, patientWeight.getBeforeWeight(), patientWeight.getBmi(), patientWeight.getDayWeights()); |
583 | 592 | |
584 | 593 | CollectionUtils.removeNullValue(map); |