diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index cab45c5cd..d863fd555 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -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 { get; set; } public List Childrens = new List(); diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 44b1008da..0cd00e6ee 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -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 {