修改签名

This commit is contained in:
he
2022-05-10 10:11:28 +08:00
parent 5702a2362e
commit 9a8265af3d
6 changed files with 25 additions and 22 deletions
@@ -107,7 +107,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> ConfigTrialBasicInfo(DataInspectionDto<BasicTrialConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _trialConfigService.ConfigTrialBasicInfo(opt.Data);
}
@@ -121,7 +121,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> ConfigTrialBasicInfoConfirm(DataInspectionDto<BasicTrialConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
var data = await _trialConfigService.ConfigTrialBasicInfo(opt.Data);
if (!data.IsSuccess)
{
@@ -145,7 +145,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> TrialConfigSignatureConfirm(DataInspectionDto<SignConfirmDTO> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _trialConfigService.TrialConfigSignatureConfirm(opt.Data);
}
@@ -160,7 +160,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> ConfigTrialProcessInfo(DataInspectionDto<TrialProcessConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _trialConfigService.ConfigTrialProcessInfo(opt.Data);
}
@@ -174,7 +174,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> ConfigTrialProcessInfoConfirm(DataInspectionDto<TrialProcessConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
var data = await _trialConfigService.ConfigTrialProcessInfo(opt.Data);
if (!data.IsSuccess)
{
@@ -199,7 +199,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> ConfigTrialUrgentInfo(DataInspectionDto<TrialUrgentConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _trialConfigService.ConfigTrialUrgentInfo(opt.Data);
}
@@ -214,7 +214,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> ConfigTrialUrgentInfoConfirm(DataInspectionDto<TrialUrgentConfig> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
var data = await _trialConfigService.ConfigTrialUrgentInfo(opt.Data);
if (!data.IsSuccess)
@@ -238,7 +238,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> CRCRequestToQC(DataInspectionDto<CRCRequestToQCCommand> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _qCOperationService.CRCRequestToQC(opt.Data);
}
@@ -250,7 +250,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> QCPassedOrFailed(DataInspectionDto<QCPassedOrFailedDto> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _qCOperationService.QCPassedOrFailed(opt.Data.trialId, opt.Data.subjectVisitId, opt.Data.auditState);
}
@@ -261,7 +261,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> CheckBack(DataInspectionDto<IDDto> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _qCOperationService.CheckBack(opt.Data.Id);
}
@@ -274,7 +274,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> SetReuploadFinished(DataInspectionDto<CRCReuploadFinishedCommand> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _qCOperationService.SetReuploadFinished(opt.Data);
}
@@ -287,7 +287,7 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> UpdateTrialState(DataInspectionDto<UpdateTrialStateDto> opt)
{
await _inspectionService.RecordSing(opt.SignCodeId);
await _inspectionService.RecordSing(opt.SignInfo);
return await _trialConfigService.UpdateTrialState(opt.Data.trialId, opt.Data.trialStatusStr, opt.Data.reason);
}