Commit 2571d5bf28319367372160a3af3a3370278492ea
1 parent
99b70119c3
Exists in
master
and in
1 other branch
体重管理
Showing 1 changed file with 10 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
2571d5b
... | ... | @@ -636,6 +636,16 @@ |
636 | 636 | } |
637 | 637 | patientWeight.setWeightInfo(weightInfo); |
638 | 638 | |
639 | + Map<String, String> dayWeights = patientWeight.getDayWeights(); | |
640 | + if (dayWeights != null && dayWeights.size() > 0 && StringUtils.isNotEmpty(dayWeights.get(DateUtil.getyyyy_MM_dd(new Date())))) | |
641 | + { | |
642 | + patientWeight.setIsShow(true); | |
643 | + } | |
644 | + else | |
645 | + { | |
646 | + patientWeight.setIsShow(false); | |
647 | + } | |
648 | + | |
639 | 649 | return RespBuilder.buildSuccess(patientWeight); |
640 | 650 | } |
641 | 651 |