Commit 9e8efcb29246035aa77ef2a860460c9430fdde05

Authored by liquanyu
1 parent 5d39f8f6b2

修复父亲年龄根据分娩日期计算

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 @ 9e8efcb
... ... @@ -3561,7 +3561,7 @@
3561 3561 Integer fAge = null;
3562 3562 Date husbandBirth = patients.getHusbandBirth();
3563 3563 if (husbandBirth != null) {
3564   - fAge = DateUtil.getAge(husbandBirth);
  3564 + fAge = DateUtil.getAge2(husbandBirth, data.getDueDate1());
3565 3565 }
3566 3566 map.put("fage", fAge);
3567 3567 map.put("inHospitalNo", data.getInHospitalNo());