Commit 10349be542716e4ecbaab7f2a15f2105fff0214c
1 parent
8139a5450a
Exists in
master
and in
6 other branches
儿童检查月龄
Showing 1 changed file with 2 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
10349be
... | ... | @@ -1984,10 +1984,8 @@ |
1984 | 1984 | |
1985 | 1985 | if (model.getDueWeek() < 37) |
1986 | 1986 | { |
1987 | - | |
1988 | -// Integer days = model.getDueWeek()*7 + (model.getDueDay() == null ? 0 : model.getDueDay()); | |
1989 | - Integer days = DateUtil.daysBetween(lastMens,DateUtil.parseYMD(checkDate)); | |
1990 | - if ((DateUtil.daysBetween(lastMens,DateUtil.parseYMD(checkDate))) < 286) | |
1987 | + Integer days =DateUtil.daysBetween(lastMens,DateUtil.parseYMD(checkDate)); | |
1988 | + if (days < 286) | |
1991 | 1989 | { |
1992 | 1990 | result.put("isCorrectMonthAge", 1); |
1993 | 1991 | //纠正胎龄 |