Commit 48cb133ff8b2d866e26a73b5528018bbb78bcd59

Authored by liquanyu
1 parent 46cd9d8e70

体重报告

Showing 1 changed file with 7 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ 48cb133
... ... @@ -1419,10 +1419,15 @@
1419 1419 getSeries(series, bmiStr, bregmatic);
1420 1420  
1421 1421  
1422   - List<Double> highMap = (List<Double>)series.get("highMap");
1423   - List<Double> lowMap = (List<Double>)series.get("lowMap");
  1422 + List<Double> highMap = (List<Double>)series.get("highData");
  1423 + List<Double> lowMap = (List<Double>)series.get("lowData");
1424 1424  
1425 1425 Map<String, String> map = new HashMap<>();
  1426 +
  1427 + if (week > 40)
  1428 + {
  1429 + return map;
  1430 + }
1426 1431  
1427 1432 double kulStart = 0;
1428 1433 double kulEnd = 0;