Commit 2f6ec570a66fe25096d0898a4e924b3653ecc275

Authored by wangbo
1 parent 2d17b4f13a

update

Showing 2 changed files with 5 additions and 3 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/BasicConfigServiceTest.java View file @ 2f6ec57
... ... @@ -3333,6 +3333,7 @@
3333 3333 continue;
3334 3334 case 1:
3335 3335 List<String> list6 = Arrays.asList(str.split("\n"));
  3336 + System.out.println("=========>" + list6);
3336 3337 weighReport.setGuideInfo(list6);
3337 3338 continue;
3338 3339 }
... ... @@ -3535,8 +3536,8 @@
3535 3536  
3536 3537  
3537 3538 // babyNutritionConfig("F:\\儿童营养报告\\婴幼儿体重与营养管理报告内容及规则\\儿童膳食报告文章2.xls");
3538   - xyPresentation("E:\\血压报告.xls");
3539   - // weightReport("E:\\体重营养报告10.xls");
  3539 + //xyPresentation("E:\\血压报告.xls");
  3540 + weightReport("E:\\体重营养报告10.xls");
3540 3541 }
3541 3542  
3542 3543 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ 2f6ec57
... ... @@ -2012,7 +2012,7 @@
2012 2012 }
2013 2013 }
2014 2014 //计算出属于那种类型 偏重 还事负重 还是正常 当前体重-孕前体重
2015   - Double residualWeight = Double.valueOf(patientWeight.getNowWeight()).doubleValue() - Double.valueOf(patientWeight.getBeforeHeight()).doubleValue();
  2015 + Double residualWeight = Double.valueOf(patientWeight.getNowWeight()).doubleValue() - Double.valueOf(patientWeight.getBeforeWeight()).doubleValue();
2016 2016 //贫血/高血压计算规则
2017 2017 Integer gxyKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.12));
2018 2018 String gxyKcalStr = gxyKcal + "kcal";
... ... @@ -2028,6 +2028,7 @@
2028 2028 //甲亢计算规则
2029 2029 Integer gkKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.45));
2030 2030 String gkKcalStr = gkKcal + "kcal";
  2031 + System.out.println("甲亢计算规则" + gkKcalStr);
2031 2032 //甲减计算规则
2032 2033 Integer gjKcal = this.getRounding((int) this.getKcal(bregmatic, residualWeight, low, high, week, bmiD, patients, patientWeight, heights, 1.45));
2033 2034 String gjKcalStr = gjKcal + "kcal";