Commit fd797ceba6dd9ba35d55a6b577aa5fa1504383c1
1 parent
c1b809516a
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
fd797ce
... | ... | @@ -377,6 +377,12 @@ |
377 | 377 | |
378 | 378 | setReport(map, weights, patientWeight.getBeforeWeight(), patientWeight.getBmi(), patientWeight.getDayWeights(), patientWeight.getBregmatic()); |
379 | 379 | |
380 | + String bregmaticOther = ""; | |
381 | + if (StringUtils.isEmpty(patientWeight.getBregmaticOther()) || "null".equals(patientWeight.getBregmaticOther())) { | |
382 | + bregmaticOther = ""; | |
383 | + } | |
384 | + map.put("bregmaticOther",bregmaticOther); | |
385 | + | |
380 | 386 | CollectionUtils.removeNullValue(map); |
381 | 387 | return RespBuilder.buildSuccess(map); |
382 | 388 | } |