添加接口
This commit is contained in:
@@ -33,11 +33,13 @@ namespace IRaCIS.Core.API.Controllers
|
||||
private readonly ITrialDocumentService _trialDocumentService;
|
||||
private readonly IQCListService _qCListService;
|
||||
private readonly ITrialConfigService _trialConfigService;
|
||||
private readonly INoneDicomStudyService _noneDicomStudyService;
|
||||
private readonly ISubjectService _subjectService;
|
||||
private readonly ISubjectVisitService _subjectVisitService;
|
||||
private readonly IQCOperationService _qCOperationService;
|
||||
private readonly IVisitPlanService _visitPlanService;
|
||||
private readonly IInspectionService _inspectionService;
|
||||
|
||||
private readonly IRepository<DataInspection> _dataInspectionRepository;
|
||||
private delegate Task<IResponseOutput> executionFun(dynamic data);
|
||||
|
||||
@@ -49,6 +51,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
IQCListService _qCListService,
|
||||
IInspectionService sinspectionService,
|
||||
ITrialConfigService _trialConfigService,
|
||||
INoneDicomStudyService noneDicomStudyService,
|
||||
ISubjectService _subjectService,
|
||||
ISubjectVisitService subjectVisitService,
|
||||
IQCOperationService qCOperationService,
|
||||
@@ -62,6 +65,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
this._trialDocumentService = trialDocumentService;
|
||||
this._qCListService = _qCListService;
|
||||
this._trialConfigService = _trialConfigService;
|
||||
this._noneDicomStudyService = noneDicomStudyService;
|
||||
this._subjectService = _subjectService;
|
||||
this._subjectVisitService = subjectVisitService;
|
||||
this._qCOperationService = qCOperationService;
|
||||
@@ -86,7 +90,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 调整影像状态
|
||||
/// 疾病进展确认评估
|
||||
/// </summary>
|
||||
/// <param name="opt"></param>
|
||||
/// <returns></returns>
|
||||
@@ -117,6 +121,50 @@ namespace IRaCIS.Core.API.Controllers
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// CRC RequestToQC 批量提交
|
||||
/// </summary>
|
||||
/// <param name="opt"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Inspection/QCOperation/CRCRequestToQC")]
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> CRCRequestToQC(DataInspectionDto<CRCRequestToQCCommand> opt)
|
||||
{
|
||||
var fun = _qCOperationService.CRCRequestToQC;
|
||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 非DICOM影像新增编辑
|
||||
/// </summary>
|
||||
/// <param name="opt"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Inspection/Inspection/AddOrUpdateNoneDicomStudy")]
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> AddOrUpdateNoneDicomStudy(DataInspectionDto<NoneDicomStudyAddOrEdit> opt)
|
||||
{
|
||||
var fun = _noneDicomStudyService.AddOrUpdateNoneDicomStudy;
|
||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除
|
||||
/// </summary>
|
||||
/// <param name="opt"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Inspection/Inspection/DeleteNoneDicomStudy")]
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> DeleteNoneDicomStudy(DataInspectionDto<IDDto> opt)
|
||||
{
|
||||
var fun = _noneDicomStudyService.DeleteNoneDicomStudy;
|
||||
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user