Uat_Study
parent
fbc2c6bd28
commit
9903b2413b
|
@ -198,7 +198,27 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public bool IsMustGlobalReading { get; set; }
|
||||
|
||||
public List<Guid> DictionaryIds { get; set; }
|
||||
public List<SystemGlobalInfo> DictionaryInfoList { get; set; }
|
||||
}
|
||||
|
||||
public class SystemGlobalInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// DictionaryId
|
||||
/// </summary>
|
||||
public Guid DictionaryId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// IsBaseLineUse
|
||||
/// </summary>
|
||||
public bool IsBaseLineUse { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// IsBaseUse
|
||||
/// </summary>
|
||||
public bool IsFollowVisitUse { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
public class SetSystemOncologyInfoInDto
|
||||
|
|
|
@ -82,12 +82,14 @@ namespace IRaCIS.Core.Application.Service.RC
|
|||
|
||||
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.SystemCriterionId && x.ParentCode == ReadingCommon.CriterionDictionary.GlobalAssess);
|
||||
|
||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryIds.Select(x => new ReadingCriterionDictionary
|
||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryInfoList.Select(x => new ReadingCriterionDictionary
|
||||
{
|
||||
CriterionId = inDto.SystemCriterionId,
|
||||
DictionaryId = x,
|
||||
DictionaryId = x.DictionaryId,
|
||||
IsSystemCriterion = true,
|
||||
ParentCode = ReadingCommon.CriterionDictionary.GlobalAssess
|
||||
ParentCode = ReadingCommon.CriterionDictionary.GlobalAssess,
|
||||
IsBaseLineUse=x.IsBaseLineUse,
|
||||
IsFollowVisitUse=x.IsFollowVisitUse,
|
||||
}));
|
||||
|
||||
await _readingQuestionCriterionSystemRepository.UpdatePartialFromQueryAsync(inDto.SystemCriterionId, x => new ReadingQuestionCriterionSystem()
|
||||
|
|
Loading…
Reference in New Issue