修改预住院患者删除。
This commit is contained in:
parent
76809ff2f5
commit
8985512315
@ -143,11 +143,13 @@ public class PatientPreHospitalizationServiceImpl implements IPatientPreHospital
|
|||||||
setPreHospitalizationInfoNull(patientInfo);
|
setPreHospitalizationInfoNull(patientInfo);
|
||||||
} else {
|
} else {
|
||||||
// 将患者信息更改为就诊信息
|
// 将患者信息更改为就诊信息
|
||||||
|
Long patientId = patientInfo.getId();
|
||||||
BeanUtils.copyBeanProp(patientInfo, patientVisitRecord);
|
BeanUtils.copyBeanProp(patientInfo, patientVisitRecord);
|
||||||
patientInfo.setPatientVisitRecordId(patientVisitRecord.getId());
|
patientInfo.setPatientVisitRecordId(patientVisitRecord.getId());
|
||||||
patientVisitRecordService.setPatientType(patientInfo, patientVisitRecord);
|
patientVisitRecordService.setPatientType(patientInfo, patientVisitRecord);
|
||||||
|
patientInfo.setId(patientId);
|
||||||
}
|
}
|
||||||
patientInfoService.updatePatientInfo(patientInfo);
|
patientInfoMapper.updatePatientInfo(patientInfo);
|
||||||
}
|
}
|
||||||
return preHospitalizationMapper.deleteByIds(ids);
|
return preHospitalizationMapper.deleteByIds(ids);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user