Commit f7ce1e3d6a545b7afd50c277733c38ba8e540886
1 parent
a33cbe971a
Exists in
master
and in
6 other branches
体重管理
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
f7ce1e3
... | ... | @@ -783,7 +783,7 @@ |
783 | 783 | Map<String, Object> dinner2 = new LinkedHashMap<>(); // 晚加餐 |
784 | 784 | |
785 | 785 | String status = kmap.get("status"); |
786 | - String kcal = kmap.get("kulStart")+"-"+kmap.get("kulEnd"); | |
786 | + String kcal = Math.round(Double.parseDouble(kmap.get("kulStart")))+"-"+Math.round(Double.parseDouble(kmap.get("kulEnd"))); | |
787 | 787 | |
788 | 788 | setData(breakfast, "早餐",configModel.getBreakfast()); |
789 | 789 | setData(breakfast2, "上午加餐", configModel.getBreakfastAdd()); |