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