修改
This commit is contained in:
@@ -32,7 +32,7 @@ namespace IRaCIS.Application.Services
|
||||
private readonly IRepository<PreviousHistory> _previousHistoryRepository;
|
||||
private readonly IRepository<PreviousOther> _previousOtherRepository;
|
||||
private readonly IRepository<PreviousSurgery> _previousSurgeryRepository;
|
||||
private readonly IReadingImageTaskService readingImageTaskService;
|
||||
private readonly IServiceProvider iServiceProvider;
|
||||
private readonly IRepository<Subject> _subjectRepository;
|
||||
private readonly IRepository<ReadModule> _readModuleRepository;
|
||||
private readonly IRepository<ReadingClinicalDataPDF> _readingClinicalDataPDFRepository;
|
||||
@@ -44,7 +44,7 @@ namespace IRaCIS.Application.Services
|
||||
IRepository<PreviousHistory> previousHistoryRepository,
|
||||
IRepository<PreviousOther> previousOtherRepository,
|
||||
IRepository<PreviousSurgery> previousSurgeryRepository,
|
||||
IReadingImageTaskService readingImageTaskService,
|
||||
IServiceProvider IServiceProvider,
|
||||
IRepository<Subject> subjectRepository,
|
||||
IRepository<ReadModule> readModuleRepository,
|
||||
IRepository<ReadingClinicalDataPDF> readingClinicalDataPDFRepository,
|
||||
@@ -57,7 +57,7 @@ namespace IRaCIS.Application.Services
|
||||
this._previousHistoryRepository = previousHistoryRepository;
|
||||
this._previousOtherRepository = previousOtherRepository;
|
||||
this._previousSurgeryRepository = previousSurgeryRepository;
|
||||
this.readingImageTaskService = readingImageTaskService;
|
||||
this.iServiceProvider = IServiceProvider;
|
||||
this._subjectRepository = subjectRepository;
|
||||
this._readModuleRepository = readModuleRepository;
|
||||
this._readingClinicalDataPDFRepository = readingClinicalDataPDFRepository;
|
||||
@@ -287,7 +287,7 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
var readingId = await _readingClinicalDataRepository.Where(x => x.Id == inDto.ReadingClinicalDataId).Select(x => x.ReadingId).FirstOrDefaultAsync();
|
||||
|
||||
await readingImageTaskService.AddOncologyTask(readingId);
|
||||
//await iServiceProvider.GetService(typeof(IReadingImageTaskService)).AddOncologyTask(readingId);
|
||||
|
||||
return ResponseOutput.Result(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user