Commit 4f228cf74ce3e833ff0f89732bed93020d881c22
1 parent
51e29045a6
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 2 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
4f228cf
| ... | ... | @@ -164,6 +164,7 @@ |
| 164 | 164 | public BaseResponse addOneAnetExChu(AntExcAddRequest excAddRequest, Integer userId) { |
| 165 | 165 | AntExChuModel antExChuModel = excAddRequest.convertToDataModel(); |
| 166 | 166 | if (StringUtils.isNotEmpty(antExChuModel.getId()) && StringUtils.isNotEmpty(antExChuModel.getParentId())) { |
| 167 | + antExChuModel.setHospitalId(autoMatchFacade.getHospitalId(userId)); | |
| 167 | 168 | antenatalExaminationService.updateAntExChu(antExChuModel, antExChuModel.getId()); |
| 168 | 169 | |
| 169 | 170 | Patients patients = patientsService.findOnePatientById(excAddRequest.getParentId()); |
| ... | ... | @@ -201,6 +202,7 @@ |
| 201 | 202 | |
| 202 | 203 | antExChuModel.setPid(patients.getPid()); |
| 203 | 204 | antExChuModel.setYn(YnEnums.YES.getId()); |
| 205 | + antExChuModel.setHospitalId(autoMatchFacade.getHospitalId(userId)); | |
| 204 | 206 | antenatalExaminationService.addOneAntEx(antExChuModel); |
| 205 | 207 | //修改患者风险等级 |
| 206 | 208 | patients.setLastCheckEmployeeId(excAddRequest.getProdDoctor()); |