Commit 61c0e8886f88ca5b0c56a6dad4d56f516ae5c266
1 parent
3889e288c4
Exists in
master
and in
6 other branches
0-6岁儿童视觉健康档案--更新
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java
View file @
61c0e88
... | ... | @@ -966,6 +966,12 @@ |
966 | 966 | |
967 | 967 | temp.put("eyeVision", rslMap);//裸眼视力 |
968 | 968 | CollectionUtils.removeNullValue(temp); |
969 | + | |
970 | + int month=DateUtil.getBabyMonthAge1(babyModel.getBirth(), babyEyeCheck.getCheckTime()); | |
971 | + | |
972 | + temp.put("month",month); | |
973 | + temp.put("isShow",month>36); | |
974 | + | |
969 | 975 | rest.add(temp); |
970 | 976 | } |
971 | 977 | return RespBuilder.buildSuccess(rest); |