Commit 5511f27d70cd8fd0a38a29008ba60f2461feed9f
1 parent
72e46e1a7f
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/FolicAcidFacade.java
View file @
5511f27
... | ... | @@ -83,7 +83,9 @@ |
83 | 83 | model.setBirthday(addRequest.getBirthday()); |
84 | 84 | model.setAge(addRequest.getAge()); |
85 | 85 | model.setPhone(addRequest.getPhone()); |
86 | - residentsArchiveService.addResident(model); | |
86 | + ResidentsArchiveModel residentsArchiveModel = residentsArchiveService.addResident(model); | |
87 | + | |
88 | + id = addOrUpdate(addRequest,userId,residentsArchiveModel.getId()); | |
87 | 89 | } |
88 | 90 | } |
89 | 91 | }else { |