修改一版
This commit is contained in:
@@ -369,7 +369,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
|
||||
|
||||
var fun = await _qCOperationService.UploadVisitCheckExcel(file, opt.trialId);
|
||||
return ResponseOutput.Ok();
|
||||
return fun;
|
||||
//var data = JsonConvert.DeserializeObject<DataInspectionAddDTO>(opt.AuditInfo);
|
||||
//return await _inspectionService.Enforcement(opt.trialId, data, null, null, fun);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,9 @@ namespace IRaCIS.Api.Controllers
|
||||
public async Task<IResponseOutput> ArchiveStudy([FromForm] ArchiveStudyCommand archiveStudyCommand)
|
||||
{
|
||||
|
||||
|
||||
DataInspectionAddDTO data = JsonConvert.DeserializeObject<DataInspectionAddDTO>(archiveStudyCommand.AuditInfo);
|
||||
|
||||
data.CreateTime = DateTime.Now;
|
||||
//Stopwatch sw = new Stopwatch();
|
||||
var startTime = DateTime.Now;
|
||||
//sw.Start();
|
||||
@@ -213,10 +215,8 @@ namespace IRaCIS.Api.Controllers
|
||||
return ResponseOutput.NotOk("未完成该检查的归档", archiveResult);
|
||||
}
|
||||
|
||||
DataInspectionAddDTO data = JsonConvert.DeserializeObject<DataInspectionAddDTO>(archiveStudyCommand.AuditInfo);
|
||||
data.GeneralId = archivedStudyIds[0];
|
||||
data.CreateTime = DateTime.Now;
|
||||
|
||||
data.GeneralId = archivedStudyIds[0];
|
||||
await _inspectionService.AddInspectionRecordAsync(data);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user