修改非dicom 文件上传 增加文件类型
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-19 15:17:55 +08:00
parent 73541efbf4
commit 6cae7a1ae4
4 changed files with 34 additions and 30 deletions
@@ -479,6 +479,8 @@ namespace IRaCIS.Core.API.Controllers
public string FilePath { get; set; }
public string FileName { get; set; }
public int FileFize { get; set; }
public string FileType { get; set; }
}
}
@@ -511,7 +513,7 @@ namespace IRaCIS.Core.API.Controllers
foreach (var item in incommand.UploadedFileList)
{
await _repository.AddAsync(new NoneDicomStudyFile() { FileName = item.FileName, Path = item.FilePath, NoneDicomStudyId = noneDicomStudyId });
await _repository.AddAsync(new NoneDicomStudyFile() { FileName = item.FileName, Path = item.FilePath, NoneDicomStudyId = noneDicomStudyId,FileType=item.FileType });
}
var uploadFinishedTime = DateTime.Now;