Commit 49542f1071fe7c98c7a851fa249094b6fddafabf
1 parent
91daeea911
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java
View file @
49542f1
... | ... | @@ -226,7 +226,7 @@ |
226 | 226 | row.put("feedType", feedType); |
227 | 227 | for (int i = 0; i < monthArr.length; i++) { |
228 | 228 | Map<String, Object> mapAge = new HashMap<>(); |
229 | - if (monthArr[i] == babyCheckModel.getTcType()) { | |
229 | + if (monthArr[i] == babyCheckModel.getTcType().intValue()) { | |
230 | 230 | mapAge.put("height", babyCheckModel.getHeight()); |
231 | 231 | mapAge.put("heightEvaluate", babyCheckModel.getHeightEvaluate()); |
232 | 232 | mapAge.put("weight", babyCheckModel.getWeight()); |
... | ... | @@ -1148,7 +1148,7 @@ |
1148 | 1148 | row.put("feedType", feedType); |
1149 | 1149 | for (int i = 0; i < monthArr.length; i++) { |
1150 | 1150 | Map<String, Object> mapAge = new HashMap<>(); |
1151 | - if (monthArr[i] == babyCheckModel.getTcType()) { | |
1151 | + if (monthArr[i] == babyCheckModel.getTcType().intValue()) { | |
1152 | 1152 | mapAge.put("height", babyCheckModel.getHeight()); |
1153 | 1153 | mapAge.put("heightEvaluate", babyCheckModel.getHeightEvaluate()); |
1154 | 1154 | mapAge.put("weight", babyCheckModel.getWeight()); |