Commit cab9fbf8949104ddc190157f0add637f96c974c8
1 parent
337090eab2
Exists in
dev
#fix:优化父亲年龄反显逻辑
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BirthResult.java
View file @
cab9fbf
| ... | ... | @@ -128,7 +128,7 @@ |
| 128 | 128 | private String babyVillageId; |
| 129 | 129 | |
| 130 | 130 | public Integer getHmarriageAge() { |
| 131 | - return DateUtil.getAge(husbandBirth); | |
| 131 | + return husbandBirth!=null?DateUtil.getAge(husbandBirth):hmarriageAge; | |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | public void setHmarriageAge(Integer hmarriageAge) { |