Commit bff500a1422df5578f0b4ec3ba6709f35d1815a3
1 parent
ff8fb54351
Exists in
master
and in
6 other branches
修改儿童建档
Showing 1 changed file with 1 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
bff500a
| ... | ... | @@ -487,8 +487,6 @@ |
| 487 | 487 | |
| 488 | 488 | String hid = autoMatchFacade.getHospitalId(userId); |
| 489 | 489 | |
| 490 | - boolean isBuildPatient = true; | |
| 491 | - | |
| 492 | 490 | BaseObjectResponse br = new BaseObjectResponse(); |
| 493 | 491 | try { |
| 494 | 492 | //判断儿童是否建档在该医院 |
| 495 | 493 | |
| 496 | 494 | |
| 497 | 495 | |
| ... | ... | @@ -647,17 +645,14 @@ |
| 647 | 645 | patients2.setBuildType(0); |
| 648 | 646 | patientsService.updatePatient(patients2); |
| 649 | 647 | |
| 650 | - isBuildPatient = false; | |
| 651 | 648 | } |
| 652 | 649 | } |
| 653 | 650 | } |
| 654 | - | |
| 655 | 651 | patients = patients1; |
| 656 | - | |
| 657 | 652 | } |
| 658 | 653 | } |
| 659 | 654 | |
| 660 | - if (patients == null && isBuildPatient) { | |
| 655 | + if (patients == null) { | |
| 661 | 656 | //添加产妇建档 |
| 662 | 657 | Patients patient = getPatientsData(request); |
| 663 | 658 | patient.setPid(pm.getId()); |