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