修改
This commit is contained in:
@@ -400,7 +400,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||
/// <returns></returns>
|
||||
[HttpPost("ClinicalData/UploadClinicalData/{trialId:guid}/{subjectId:guid}/{readingId:guid}")]
|
||||
[DisableRequestSizeLimit]
|
||||
public async Task<List<FileDto>> UploadReadClinicalData(Guid trialId,Guid subjectId,Guid readingId)
|
||||
public async Task<IResponseOutput<List<FileDto>>> UploadReadClinicalData(Guid trialId,Guid subjectId,Guid readingId)
|
||||
{
|
||||
var filerelativePath = string.Empty;
|
||||
List<FileDto> fileDtos = new List<FileDto>();
|
||||
@@ -412,23 +412,22 @@ namespace IRaCIS.Core.API.Controllers
|
||||
var (serverFilePath, relativePath, fileRealName) = FileStoreHelper.GetReadClinicalDataPath(_hostEnvironment, fileName, trialId, siteid, subjectId, readingId);
|
||||
//插入临床pdf 路径
|
||||
filerelativePath = relativePath;
|
||||
|
||||
|
||||
fileDtos.Add(new FileDto()
|
||||
{
|
||||
FileName = fileName,
|
||||
Path = serverFilePath
|
||||
|
||||
}); ;
|
||||
|
||||
});
|
||||
return fileName;
|
||||
});
|
||||
|
||||
return fileDtos;
|
||||
// indto.AddFileList = fileDtos;
|
||||
|
||||
//await _iReadingClinicalDataService.AddOrUpdateReadingClinicalData(indto);
|
||||
|
||||
//return ResponseOutput.Ok(filerelativePath);
|
||||
return ResponseOutput.Ok(fileDtos);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上传非Dicom 文件 支持压缩包 多文件上传
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user