Commit 74a6bb2a003f98f8d76113b1a5cab2d0d485cbf2
1 parent
2d15661920
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
74a6bb2
... | ... | @@ -1679,7 +1679,7 @@ |
1679 | 1679 | String cDueWeek = ResolveUtils.getPregnancyWeek(patients.getLastMenses(), data.getCheckTime()); |
1680 | 1680 | //产检孕周 |
1681 | 1681 | map.put("cDueWeek", cDueWeek); |
1682 | - int week = Integer.parseInt(cDueWeek.substring(1, cDueWeek.indexOf("周"))); | |
1682 | + int week = DateUtil.getWeek2(patients.getLastMenses(), data.getCheckTime()); | |
1683 | 1683 | if (week >= 20) { |
1684 | 1684 | map.put("gongGaoText", UnitUtils.unitSplice(data.getGonggao(), UnitConstants.CM)); |
1685 | 1685 | } else if (week < 20) { |