diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java index 1d5adf7..a44aca3 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java @@ -226,7 +226,7 @@ public class BabyHealthFacade extends BaseServiceImpl { row.put("feedType", feedType); for (int i = 0; i < monthArr.length; i++) { Map mapAge = new HashMap<>(); - if (monthArr[i] == babyCheckModel.getTcType()) { + if (monthArr[i] == babyCheckModel.getTcType().intValue()) { mapAge.put("height", babyCheckModel.getHeight()); mapAge.put("heightEvaluate", babyCheckModel.getHeightEvaluate()); mapAge.put("weight", babyCheckModel.getWeight()); @@ -1148,7 +1148,7 @@ public class BabyHealthFacade extends BaseServiceImpl { row.put("feedType", feedType); for (int i = 0; i < monthArr.length; i++) { Map mapAge = new HashMap<>(); - if (monthArr[i] == babyCheckModel.getTcType()) { + if (monthArr[i] == babyCheckModel.getTcType().intValue()) { mapAge.put("height", babyCheckModel.getHeight()); mapAge.put("heightEvaluate", babyCheckModel.getHeightEvaluate()); mapAge.put("weight", babyCheckModel.getWeight());