Commit 588d9cc1ddf12c7435488cf468c5739b8cc22fe4
1 parent
35332004e5
Exists in
master
and in
8 other branches
增加设置parentid
Showing 1 changed file with 3 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
588d9cc
| ... | ... | @@ -67,8 +67,8 @@ |
| 67 | 67 | updateApplyOrder(antenatalExamination, antExAddRequest.getParentId()); |
| 68 | 68 | //修改孕妇高危等级 |
| 69 | 69 | Patients patients =patientsService.findOnePatientById(antExAddRequest.getParentId()); |
| 70 | - patients.setLastCheckEmployeeId(userId+""); | |
| 71 | - updatePatientRiskLevel(antenatalExamination,patients); | |
| 70 | + patients.setLastCheckEmployeeId(antExAddRequest.getCheckDoctor()); | |
| 71 | + updatePatientRiskLevel(antenatalExamination, patients); | |
| 72 | 72 | } else { |
| 73 | 73 | AntenatalExaminationModel model = antExAddRequest.convertToDataModel(); |
| 74 | 74 | model.setYn(YnEnums.YES.getId()); |
| ... | ... | @@ -85,7 +85,7 @@ |
| 85 | 85 | return new BaseResponse().setErrorcode(ErrorCodeConstants.DATA_EXIST).setErrormsg("同一天只能建一次复诊"); |
| 86 | 86 | } |
| 87 | 87 | Patients patients = patientsService.findOnePatientById(antExAddRequest.getParentId()); |
| 88 | - patients.setLastCheckEmployeeId(userId+""); | |
| 88 | + patients.setLastCheckEmployeeId(antExAddRequest.getCheckDoctor()); | |
| 89 | 89 | model.setPid(patients.getPid()); |
| 90 | 90 | antenatalExaminationService.addOneBabyAnt(model); |
| 91 | 91 | //修改申请单状态 |