IRC_NewDev
parent
ae2907ad5d
commit
76c6e8442a
|
@ -103,10 +103,10 @@ namespace IRaCIS.Application.Services
|
||||||
var entity = _mapper.Map<ReadingClinicalData>(indto);
|
var entity = _mapper.Map<ReadingClinicalData>(indto);
|
||||||
entity.ReadingClinicalDataPDFList = indto.AddFileList.Select(x => new ReadingClinicalDataPDF()
|
entity.ReadingClinicalDataPDFList = indto.AddFileList.Select(x => new ReadingClinicalDataPDF()
|
||||||
{
|
{
|
||||||
|
|
||||||
FileName = x.FileName,
|
FileName = x.FileName,
|
||||||
Path = x.Path,
|
Path = x.Path,
|
||||||
|
Size = x.Size,
|
||||||
|
Type = x.Type,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
||||||
|
@ -127,7 +127,8 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
FileName = x.FileName,
|
FileName = x.FileName,
|
||||||
Path = x.Path,
|
Path = x.Path,
|
||||||
|
Size = x.Size,
|
||||||
|
Type = x.Type,
|
||||||
ReadingClinicalDataId = entity.Id,
|
ReadingClinicalDataId = entity.Id,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
|
@ -209,6 +210,8 @@ namespace IRaCIS.Application.Services
|
||||||
PDFFileList = x.ReadingClinicalDataPDFList.Select(y => new GetFileDto()
|
PDFFileList = x.ReadingClinicalDataPDFList.Select(y => new GetFileDto()
|
||||||
{
|
{
|
||||||
Id = y.Id,
|
Id = y.Id,
|
||||||
|
Size = y.Size,
|
||||||
|
Type = y.Type,
|
||||||
FileName = y.FileName,
|
FileName = y.FileName,
|
||||||
Path = y.Path,
|
Path = y.Path,
|
||||||
CreateTime = y.CreateTime,
|
CreateTime = y.CreateTime,
|
||||||
|
|
|
@ -184,6 +184,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 路径
|
/// 路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 大小
|
||||||
|
/// </summary>
|
||||||
|
public int Size { get; set; } = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件类型
|
||||||
|
/// </summary>
|
||||||
|
public string Type { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -489,6 +499,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public string FileName { get; set; }
|
public string FileName { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 大小
|
||||||
|
/// </summary>
|
||||||
|
public int Size { get; set; } = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件类型
|
||||||
|
/// </summary>
|
||||||
|
public string Type { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 上传时间
|
/// 上传时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -44,7 +44,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 大小
|
||||||
|
/// </summary>
|
||||||
|
public int Size { get; set; } = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件类型
|
||||||
|
/// </summary>
|
||||||
|
public string Type { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue