IRC_NewDev
parent
86489b2117
commit
871333b9e9
|
@ -1184,8 +1184,8 @@ namespace IRaCIS.Application.Services
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
||||||
entity.IsBlind = null;
|
entity.IsBlind = false;
|
||||||
entity.IsComplete = null;
|
entity.IsComplete = true;
|
||||||
entity.FileCount = entity.ReadingClinicalDataPDFList.Count;
|
entity.FileCount = entity.ReadingClinicalDataPDFList.Count;
|
||||||
await _readingConsistentClinicalDataRepository.AddAsync(entity, true);
|
await _readingConsistentClinicalDataRepository.AddAsync(entity, true);
|
||||||
var success = await _readingConsistentClinicalDataRepository.SaveChangesAsync();
|
var success = await _readingConsistentClinicalDataRepository.SaveChangesAsync();
|
||||||
|
@ -1214,8 +1214,8 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
if (indto.AddFileList.Count > 0 || indto.AddFileList.Count > 0)
|
if (indto.AddFileList.Count > 0 || indto.AddFileList.Count > 0)
|
||||||
{
|
{
|
||||||
entity.IsComplete = null;
|
entity.IsComplete = true;
|
||||||
entity.IsBlind = null;
|
entity.IsBlind = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
await _readingConsistentClinicalDataPDFRepository.AddRangeAsync(addFileList);
|
await _readingConsistentClinicalDataPDFRepository.AddRangeAsync(addFileList);
|
||||||
|
|
|
@ -54,12 +54,12 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否盲化
|
/// 是否盲化
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool? IsBlind { get; set; }
|
public bool? IsBlind { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否完整
|
/// 是否完整
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool? IsComplete { get; set; }
|
public bool? IsComplete { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建人
|
/// 创建人
|
||||||
|
|
Loading…
Reference in New Issue