|
|
@@ -1195,10 +1195,9 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
}
|
|
|
MzBlRecord.formatMzBlRecord(mzBlRecord);
|
|
|
mzBlRecordMapper.insertMzBlRecord(mzBlRecord);
|
|
|
-
|
|
|
+ patientAllergenInfoMapper.deleteByPatNo(mzPrescriptionVo.getPatientId());
|
|
|
//设置过敏源信息
|
|
|
if(mzPrescriptionVo.getPatientAllergenInfoList()!=null && mzPrescriptionVo.getPatientAllergenInfoList().size()>0){
|
|
|
- patientAllergenInfoMapper.deleteByPatNo(mzPrescriptionVo.getPatientId());
|
|
|
for (PatientAllergenInfo patientAllergenInfo : mzPrescriptionVo.getPatientAllergenInfoList()) {
|
|
|
patientAllergenInfo.setPatNo(mzPrescriptionVo.getPatientId());
|
|
|
patientAllergenInfoMapper.insert(patientAllergenInfo);
|