Commit d19ce3b4abd5d81e35e566bfeb5dd1881bd47b52
1 parent
ff70f46791
Exists in
master
and in
8 other branches
增加权限
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VisitFacade.java
View file @
d19ce3b
| ... | ... | @@ -169,7 +169,9 @@ |
| 169 | 169 | } else { |
| 170 | 170 | // 表示是新的产妇直接新增 |
| 171 | 171 | // parentId = puerperaService.addPuerpera(visitRequest.getPuerpera().build()).getId(); |
| 172 | - parentId = patientsService.addPatient(visitRequest.getPatients()).getId(); | |
| 172 | + Patients patients = visitRequest.getPatients(); | |
| 173 | + patients.setType(3); | |
| 174 | + parentId = patientsService.addPatient(patients).getId(); | |
| 173 | 175 | } |
| 174 | 176 | |
| 175 | 177 | // 如果为空表示新增 |