From 3f3a9093b22e21395069a5921dc8de458035f105 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Fri, 24 Mar 2023 14:26:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 5 +++++
.../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 10 ++++++++++
.../ReadingImageTask/ReadingImageTaskService.cs | 2 ++
3 files changed, 17 insertions(+)
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index aae0b7617..a02c5698d 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -3574,6 +3574,11 @@
任务展示访视 读片任务显示是否顺序
+
+
+ 是否是转变的任务(转为IRECIST)
+
+
返回对象
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index f6ed2ea07..1fa3d0946 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -1053,6 +1053,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid? VisitId { get; set; }
public bool IsCurrentTask { get; set; }
+
+ ///
+ /// 是否是转变的任务(转为IRECIST)
+ ///
+ public bool IsConvertedTask { get; set; } = false;
+
+ ///
+ /// 是否是第一次转化的任务
+ ///
+ public bool IsFirstChangeTask { get; set; } = false;
}
public class GetVisitReadingQuestionOutDto
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
index 8f7581e3c..9f01135d2 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
@@ -446,6 +446,8 @@ namespace IRaCIS.Application.Services
VisitTaskNum = x.VisitTaskNum,
IsBaseLineTask = x.SourceSubjectVisitId == baselineVisitId,
IsCurrentTask = x.Id == inDto.VisitTaskId,
+ IsConvertedTask=x.IsConvertedTask,
+ IsFirstChangeTask=x.BeforeConvertedTaskId!=null,
}).OrderBy(x => x.VisitTaskNum).ToListAsync();