Commit e1ab3145e243d919a64b1a80f57c0b2e31268a11

Authored by changpengfei
1 parent 1e4f8df1d0

添加儿童统计-转换字符串

Showing 1 changed file with 4 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java View file @ e1ab314
... ... @@ -209,12 +209,16 @@
209 209 mapAge.put("weight", babyCheckModel.getWeight());
210 210 mapAge.put("weightEvaluate", babyCheckModel.getWeightEvaluate());
211 211 mapAge.put("hemoglobin", babyCheckModel.getHemoglobin());
  212 + mapAge.put("wh", babyCheckModel.getWeight()+"/"+babyCheckModel.getHeight());
  213 + mapAge.put("whEva", babyCheckModel.getWeightEvaluate()+"/"+babyCheckModel.getHeightEvaluate());
212 214 } else {
213 215 mapAge.put("height", "");
214 216 mapAge.put("heightEvaluate", "");
215 217 mapAge.put("weight", "");
216 218 mapAge.put("weightEvaluate", "");
217 219 mapAge.put("hemoglobin", "");
  220 + mapAge.put("wh", "");
  221 + mapAge.put("whEva", "");
218 222 }
219 223 mapAge.put("age", monthArr[i]);
220 224 listAge.add(mapAge);