修复事务提交
parent
895d024bc6
commit
54e717d4af
|
@ -130,6 +130,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
await _studyMonitorRepository.BatchDeleteNoTrackingAsync(t => t.StudyId == noneDicomStudyId);
|
await _studyMonitorRepository.BatchDeleteNoTrackingAsync(t => t.StudyId == noneDicomStudyId);
|
||||||
|
|
||||||
|
await _noneDicomStudyRepository.SaveChangesAsync();
|
||||||
|
|
||||||
return ResponseOutput.Ok();
|
return ResponseOutput.Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,7 +264,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
SubjectVisitId = subjectVisitId,
|
SubjectVisitId = subjectVisitId,
|
||||||
});
|
});
|
||||||
|
|
||||||
await _repository.SaveChangesAsync();
|
await _noneDicomStudyFileRepository.SaveChangesAsync();
|
||||||
|
|
||||||
return ResponseOutput.Ok(/*list*/);
|
return ResponseOutput.Ok(/*list*/);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue