修改一版
This commit is contained in:
@@ -270,12 +270,15 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public List<TrialCriterionReadingCategory> CriterionReadingCategoryList { get; set; }
|
||||
|
||||
public List<CriterionFile> CriterionFileList { get; set; }
|
||||
|
||||
|
||||
public List<CriterionReadingCategory> CriterionCategoryList =>
|
||||
TrialReadingCriterionList.Select(t =>
|
||||
new CriterionReadingCategory()
|
||||
{
|
||||
EnrollId = EnrollId,
|
||||
CriterionFileList= CriterionFileList.Where(x=>x.CriterionType==t.CriterionType).ToList(),
|
||||
TrialReadingCriterionId = t.TrialReadingCriterionId,
|
||||
ReadingCategorys = CriterionReadingCategoryList.Where(c => c.TrialReadingCriterionId == t.TrialReadingCriterionId).Select(t => t.ReadingCategory).OrderBy(c => c).ToList()
|
||||
}).ToList();
|
||||
@@ -317,12 +320,52 @@ namespace IRaCIS.Application.Contracts
|
||||
}
|
||||
|
||||
|
||||
public class CriterionFile
|
||||
{
|
||||
|
||||
public Guid Id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 文件名称
|
||||
/// </summary>
|
||||
public string FileName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件路径
|
||||
/// </summary>
|
||||
public string FilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准类型
|
||||
/// </summary>
|
||||
public CriterionType CriterionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 医生Id
|
||||
/// </summary>
|
||||
public Guid DoctorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件类型
|
||||
/// </summary>
|
||||
public CriterionFileType FileType { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class CriterionReadingCategory
|
||||
{
|
||||
public Guid EnrollId { get; set; }
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
|
||||
public List<CriterionFile> CriterionFileList { get; set; }
|
||||
|
||||
|
||||
public List<ReadingCategory> ReadingCategorys { get; set; } = new List<ReadingCategory>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user