修改提交
parent
e145988b57
commit
1afda263b3
|
@ -31,6 +31,8 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
private readonly IRepository<SubjectVisit> _subjectVisitRepository;
|
||||
private readonly IRepository<QCChallenge> _qcChallengeRepository;
|
||||
private readonly IRepository<DicomStudy> _dicomStudyRepository;
|
||||
private readonly IRepository<Dictionary> _dictionaryrepository;
|
||||
private readonly IRepository<DicomSeries> _dicomSeriesrepository;
|
||||
private readonly IRepository<Subject> _subjectRepository;
|
||||
private readonly IRepository<Trial> _trialRepository;
|
||||
private readonly IMediator _mediator;
|
||||
|
@ -41,7 +43,11 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
IRepository<QCChallenge> qcChallengeRepository,
|
||||
IRepository<Trial> trialRepository,
|
||||
IMediator mediator,
|
||||
IInspectionService inspectionService,
|
||||
IDictionaryService dictionaryService,
|
||||
IRepository<DicomStudy> dicomStudyRepository,
|
||||
IRepository<Dictionary> dictionaryrepository,
|
||||
IRepository<DicomSeries> dicomSeriesrepository,
|
||||
IRepository<Subject> subjectRepository
|
||||
)
|
||||
{
|
||||
|
@ -49,6 +55,8 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
_subjectVisitRepository = subjectVisitRepository;
|
||||
_qcChallengeRepository = qcChallengeRepository;
|
||||
_dicomStudyRepository = dicomStudyRepository;
|
||||
this._dictionaryrepository = dictionaryrepository;
|
||||
this._dicomSeriesrepository = dicomSeriesrepository;
|
||||
this._subjectRepository = subjectRepository;
|
||||
_mediator = mediator;
|
||||
_trialRepository = trialRepository;
|
||||
|
@ -896,7 +904,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
|
||||
|
||||
|
||||
var success3 = await _repository.BatchDeleteAsync<DicomSeries>(t => t.StudyId == id);
|
||||
var success3 = await _dicomSeriesrepository.DeleteFromQueryAsync(t => t.StudyId == id);
|
||||
var success4 = await _repository.BatchDeleteAsync<StudyMonitor>(t => t.StudyId == id);
|
||||
|
||||
//删除 物理文件
|
||||
|
|
Loading…
Reference in New Issue