Commit 711da73a59caec793d308c57aed9f1f3c20b5393
1 parent
b0cc54f4ca
Exists in
master
and in
8 other branches
增加权限
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/PuerperaResult.java
View file @
711da73
... | ... | @@ -144,7 +144,11 @@ |
144 | 144 | setCommunityId(StringUtils.isEmpty(model.getCommunityId()) ? "" : model.getCommunityId()); |
145 | 145 | setCommunity(comm); |
146 | 146 | setPhone(model.getPhone()); |
147 | - setAge(model.getAge()); | |
147 | + try{ | |
148 | + setAge(model.getAge()); | |
149 | + }catch (Exception e){ | |
150 | + | |
151 | + } | |
148 | 152 | setName(model.getUsername()); |
149 | 153 | setVisitStatus(model.getIsVisit()); |
150 | 154 | return this; |