From 2fa57b17348010b49fea42534660575ce9638426 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Fri, 11 May 2018 13:55:46 +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 | 5 ----- 1 file changed, 5 deletions(-) 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 975e5e9..236aeb6 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 @@ -406,11 +406,9 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient map.put("pregnancy", pregnancy); if(week != null && StringUtils.isNotEmpty(patientWeight.getBmi())) { String weightType = ""; - //体重正常 过轻 过重 是依据孕妇BMI指数来的。 //BMI计算方式:BMI=孕前体重(kg)/【身高(m)×身高(m)】 //对应范围:BMI<18.5对应体重过轻 BMI=18.5-24.9对应正常体重 BMI>25对应体重过重 - double bmi = Double.parseDouble(patientWeight.getBmi()); if (bmi < 18.5) { @@ -424,9 +422,6 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient { weightType = "过重"; } - week = 12; - weightType = "正常"; - WeightManageConfigModel configModel = getWeightConfig(String.valueOf(week),weightType); setInfo(week, map); // 设置孕期相关营养信息 setRecipe(map, configModel); // 设置食谱 -- 1.8.3.1