Commit 00d3ffeb41a0c5e4dfe15d58fa9f7c6601ef8310

Authored by wangbo
1 parent e16a4963ac

update

Showing 1 changed file with 4 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ 00d3ffe
... ... @@ -2015,6 +2015,8 @@
2015 2015 //贫血/高血压计算规则
2016 2016 Integer gxyKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.12));
2017 2017 String gxyKcalStr = gxyKcal + "kcal";
  2018 + System.out.println("贫血:" + gxyKcalStr);
  2019 +
2018 2020 //获取慢性肝炎的计算规则
2019 2021 Integer mxgyKcal = this.getRounding((int) this.getHepatitisKcal(patientWeight, bregmatic, residualWeight, low, high, bmiD, week));
2020 2022 String mxgyKcalStr = mxgyKcal + "kcal";
2021 2023  
... ... @@ -2024,12 +2026,11 @@
2024 2026 //糖尿病计算规则
2025 2027 Integer diabetesKcal = getDiabetesRounding((int) this.getDiabetes(heights, week));
2026 2028 String diabetesKcalStr = diabetesKcal + "kcal";
2027   - System.out.println(diabetesKcalStr);
2028 2029 //甲亢计算规则
2029 2030 Integer gkKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.45));
2030 2031 String gkKcalStr = gkKcal + "kcal";
2031 2032 //甲减计算规则
2032   - Integer gjKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.45));
  2033 + Integer gjKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.0));
2033 2034 String gjKcalStr = gjKcal + "kcal";
2034 2035 //获取改孕妇的高危项
2035 2036 String risk = patients.getRiskLevelId();
... ... @@ -2131,7 +2132,7 @@
2131 2132 set.add(weightReportModel.getObstructiveAnemiaName());
2132 2133 }
2133 2134 //贫血anemia
2134   - datas.put("6", this.getInfo(weights, data0, weightReportModel, patientWeight, patients, bmiD, week, gjKcalStr, set));
  2135 + datas.put("6", this.getInfo(weights, data0, weightReportModel, patientWeight, patients, bmiD, week, gxyKcalStr, set));
2135 2136 } else if (reis.equals(weightReportModel.getDiseasesDigestiveSystemId()) || reis.equals(weightReportModel.getViralHepatitisId())) {
2136 2137 Set set = new HashSet();
2137 2138 if (null != weightReportModel.getDiseasesDigestiveSystemId() && reiskFactor.contains(weightReportModel.getDiseasesDigestiveSystemId())) {