Commit 6aedcb4c7e5a4058cfee141611598e954f0ccd36
1 parent
e2abd2c5a9
Exists in
master
and in
6 other branches
改bug
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/DateUtil.java
View file @
6aedcb4
| ... | ... | @@ -970,7 +970,7 @@ |
| 970 | 970 | Integer betweenDay = DateUtil.getDays(start, end); |
| 971 | 971 | Integer week = betweenDay / 7; |
| 972 | 972 | Integer day = betweenDay % 7; |
| 973 | - if(week > 42) { | |
| 973 | + if(week >= 42) { | |
| 974 | 974 | return "已分娩"; |
| 975 | 975 | } |
| 976 | 976 | return "孕" + week + "周" + (day > 0 ? "+" + day + "天" : ""); |