Uat_Study
hang 2023-03-24 11:31:36 +08:00
commit a04fb8394e
4 changed files with 15 additions and 1 deletions

View File

@ -151,7 +151,6 @@ namespace IRaCIS.Core.Application.Service
{
x.VisitTaskId = taskInfo.Id;
x.IsCurrentTaskAdd = false;
x.isf
x.Id = NewId.NextGuid();
});

View File

@ -387,6 +387,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
{
public string Answer { get; set; }
public bool IsFirstChangeTask { get; set; } = false;
public List<CrterionDictionaryGroup> CrterionDictionaryGroup { get; set; }
public List<DicomReadingQuestionAnswer> Childrens = new List<DicomReadingQuestionAnswer>();
@ -740,6 +741,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string FromMark { get; set; } = string.Empty;
/// <summary>
/// 病灶类型
/// </summary>
public LesionType? LesionType { get; set; }
/// <summary>
/// 截图地址

View File

@ -643,6 +643,14 @@ namespace IRaCIS.Application.Services
{
x.CrterionDictionaryGroup = taskinfo.CrterionDictionaryGroup;
});
if (taskinfo.IsConvertedTask && taskinfo.BeforeConvertedTaskId != null)
{
questions.ForEach(x =>
{
x.IsFirstChangeTask =true;
});
}
}
else
{

View File

@ -97,6 +97,7 @@ namespace IRaCIS.Core.Application.Service
CreateMap<ReadingTableAnswerRowInfo, GetTableAnswerRowInfoOutDto>()
.ForMember(d => d.LesionType, u => u.MapFrom(s => s.ReadingQuestionTrial.LesionType))
.ForMember(d => d.ShowOrder, u => u.MapFrom(s => s.ReadingQuestionTrial.ShowOrder))
.ForMember(d => d.OrderMark, u => u.MapFrom(s => s.ReadingQuestionTrial.OrderMark))
.ForMember(d => d.RowIndex, u => u.MapFrom(s => s.RowIndex.ToString()))