Compare commits

..

No commits in common. "1efd41e7ac39f5dee8dfa91e1a2ca0c52af83732" and "f92ace189460205c9e889995622c86c8f63e0064" have entirely different histories.

3 changed files with 10 additions and 42 deletions

View File

@ -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,8 +127,7 @@ namespace IRaCIS.Application.Services
FileName = x.FileName,
Path = x.Path,
Size = x.Size,
Type = x.Type,
ReadingClinicalDataId = entity.Id,
}).ToList();
@ -210,9 +209,7 @@ namespace IRaCIS.Application.Services
PDFFileList = x.ReadingClinicalDataPDFList.Select(y => new GetFileDto()
{
Id = y.Id,
Size = y.Size,
Type = y.Type,
FileName = y.FileName,
FileName = y.FileName,
Path = y.Path,
CreateTime = y.CreateTime,
}).ToList(),

View File

@ -184,17 +184,7 @@ 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
@ -499,21 +489,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string FileName { get; set; }
/// <summary>
/// 大小
/// </summary>
public int Size { get; set; } = 0;
/// <summary>
/// 文件类型
/// </summary>
public string Type { get; set; }
/// <summary>
/// 上传时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 上传时间
/// </summary>
public DateTime CreateTime { get; set; }
}

View File

@ -44,16 +44,8 @@ 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; }
}
}