修改上传
parent
a845dc536e
commit
bb73416535
|
@ -301,9 +301,8 @@ namespace IRaCIS.Core.API.Controllers
|
|||
SubjectVisitId = savedInfo.SubjectVisitId,
|
||||
StudyId = archivedStudyIds[0],
|
||||
|
||||
StudyCode = studycode,
|
||||
|
||||
UploadStartTime = startTime,
|
||||
UploadFinishedTime = DateTime.Now,
|
||||
FileSize = (decimal)HttpContext.Request.ContentLength,
|
||||
FileCount = archiveResult.ReceivedFileCount,
|
||||
IsDicom = true,
|
||||
|
@ -313,6 +312,7 @@ namespace IRaCIS.Core.API.Controllers
|
|||
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
if (archivedStudyIds.Count > 0) // 上传成功,处理逻辑
|
||||
{
|
||||
|
@ -358,6 +358,9 @@ namespace IRaCIS.Core.API.Controllers
|
|||
}
|
||||
finally
|
||||
{
|
||||
|
||||
studyMonitor.StudyCode = studycode;
|
||||
studyMonitor.UploadFinishedTime = DateTime.Now;
|
||||
await _repository.AddAsync(studyMonitor, true);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue