Commit b41accfdc002ba3797756fb3fc4d83ae78ff9577
1 parent
b174bb0ce5
Exists in
master
修改产检删除
Showing 1 changed file with 4 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
b41accf
| ... | ... | @@ -444,12 +444,7 @@ |
| 444 | 444 | patient.setId(id); |
| 445 | 445 | //加入产筛 |
| 446 | 446 | patientsService.validata(patient); |
| 447 | - //如果当前是建档医院,那么需要修改其他非建档医院的数据 | |
| 448 | - if (autoMatchFacade.checkBStatus(userId)) { | |
| 449 | - patientsService.updateBaseData(patient); | |
| 450 | - } | |
| 451 | 447 | |
| 452 | - | |
| 453 | 448 | PatientsQuery pQuery = new PatientsQuery(); |
| 454 | 449 | pQuery.setYn(YnEnums.YES.getId()); |
| 455 | 450 | pQuery.setId(id); |
| ... | ... | @@ -470,7 +465,10 @@ |
| 470 | 465 | |
| 471 | 466 | patient.setOperator(userId); |
| 472 | 467 | yunBookbuildingService.updatePregnant(patient, id); |
| 473 | - | |
| 468 | + //如果当前是建档医院,那么需要修改其他非建档医院的数据 | |
| 469 | + if (autoMatchFacade.checkBStatus(userId)) { | |
| 470 | + patientsService.updateBaseData(patient); | |
| 471 | + } | |
| 474 | 472 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
| 475 | 473 | } |
| 476 | 474 |