Commit 4ff95c6ab1ce592fd04df781d1e3a040ee333290
1 parent
fb991e7530
Exists in
master
and in
6 other branches
geshihua
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodSugarServiceImpl.java
View file @
4ff95c6
... | ... | @@ -278,7 +278,7 @@ |
278 | 278 | Map<String, Object> map = entry.getValue(); |
279 | 279 | Integer dayCount = (Integer) map.get("dayCount"); |
280 | 280 | Double sugarCount = (Double) map.get("sugarCount"); |
281 | - weekMap.put("value", sugarCount / dayCount + ""); | |
281 | + weekMap.put("value", MathUtil.doubleFormat2(sugarCount / dayCount)); | |
282 | 282 | flag = false; |
283 | 283 | } |
284 | 284 | } |