修改一版代码
This commit is contained in:
@@ -54,6 +54,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
ITrialConfigService _trialConfigService,
|
||||
INoneDicomStudyService noneDicomStudyService,
|
||||
ISubjectService _subjectService,
|
||||
|
||||
ISubjectVisitService subjectVisitService,
|
||||
IQCOperationService qCOperationService,
|
||||
IClinicalDataService clinicalDataService,
|
||||
@@ -88,8 +89,26 @@ namespace IRaCIS.Core.API.Controllers
|
||||
return await _inspectionService.GetInspectionData(dto);
|
||||
}
|
||||
|
||||
#region 影像质疑
|
||||
/// <summary>
|
||||
/// 手动领取 或者取消 QC任务
|
||||
/// </summary>
|
||||
/// <param name="opt"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Inspection/QCOperation/ObtainOrCancelQCTask")]
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> ObtainOrCancelQCTask(DataInspectionDto<ObtainOrCancelQCTaskDto> opt)
|
||||
{
|
||||
var fun = await _qCOperationService.ObtainOrCancelQCTask(opt.OptCommand.trialId, opt.OptCommand.subjectVisitId, opt.OptCommand.obtaionOrCancel);
|
||||
if (!fun.IsSuccess)
|
||||
{
|
||||
return ResponseOutput.NotOk(fun.ErrorMessage);
|
||||
}
|
||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, null, fun);
|
||||
}
|
||||
|
||||
#region Qc
|
||||
#endregion
|
||||
#region 影像上传
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -195,9 +214,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 临床数据采集 ClinicalDataService
|
||||
/// <summary>
|
||||
/// 新增或修改既往放疗史
|
||||
@@ -291,8 +308,6 @@ namespace IRaCIS.Core.API.Controllers
|
||||
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 访视计划
|
||||
/// <summary>
|
||||
/// 新增或添加访视计划
|
||||
|
||||
Reference in New Issue
Block a user