From df29378a61b53b20a1a461b5717f6ef9bc60859c Mon Sep 17 00:00:00 2001 From: liquanyu Date: Wed, 27 Jun 2018 11:29:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E9=87=8D=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/PatientWeightServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index cf00b3a..a01e984 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -1339,7 +1339,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient } Double b = Double.parseDouble(before); Double n = Double.parseDouble(now); - return MathUtil.doubleFormat2(n - b); + return Double.parseDouble(MathUtil.doubleFormat(n - b)); } -- 1.8.3.1