Commit 658fdd818af87b4ab60edd01a54d3a42de5104a6

Authored by jiangjiazhi
1 parent 2a3d7a8d23

增加权限

Showing 1 changed file with 2 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VisitFacade.java View file @ 658fdd8
... ... @@ -164,6 +164,7 @@
164 164 patients.setId(null);
165 165 patients.setCreated(new Date());
166 166 patients.setModified(new Date());
  167 + patients.setIsVisit(0);
167 168 parentId = patientsService.addPatient(patients).getId();
168 169 }
169 170  
... ... @@ -218,6 +219,7 @@
218 219 if (CollectionUtils.isNotEmpty(patientses)) {
219 220 babyModel.setParentId(patientses.get(0).getId());
220 221 }
  222 + babyModel.setVisitstatus(0);
221 223 babyId = babyService.addOneBaby(babyModel).getId();
222 224 } else {
223 225 //修改小孩基本信息