Commit 9b0bf253c0db930d85067334cf939b3336f4fab4
1 parent
018f12d85a
Exists in
master
and in
1 other branch
修改产检删除
Showing 2 changed files with 5 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PatientsService.java
View file @
9b0bf25
| ... | ... | @@ -250,7 +250,7 @@ | 
| 250 | 250 | /** | 
| 251 | 251 | * 修改非建档医院基本信息 | 
| 252 | 252 | */ | 
| 253 | - private void updateBaseData(Patients patients){ | |
| 253 | + public void updateBaseData(Patients patients){ | |
| 254 | 254 | PatientsQuery patientsQuery2=new PatientsQuery(); | 
| 255 | 255 | patientsQuery2.setPid(patients.getPid()); | 
| 256 | 256 | patientsQuery2.setEnable("0"); | 
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
9b0bf25
| ... | ... | @@ -495,6 +495,10 @@ | 
| 495 | 495 | patient.setId(id); | 
| 496 | 496 | //加入产筛 | 
| 497 | 497 | patientsService.validata(patient); | 
| 498 | + //如果当前是建档医院,那么需要修改其他非建档医院的数据 | |
| 499 | + if(autoMatchFacade.checkBStatus(userId)){ | |
| 500 | + patientsService.updateBaseData(patient); | |
| 501 | + } | |
| 498 | 502 | |
| 499 | 503 | |
| 500 | 504 | PatientsQuery pQuery = new PatientsQuery(); |