From 3a1d133a7ec19a05f8128e976db56eaa3bd693a0 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Thu, 22 Sep 2022 14:17:41 +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
---
.../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 2 ++
IRaCIS.Core.Application/Service/Reading/_MapConfig.cs | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index bce09314c..e78bd3404 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -365,6 +365,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
{
public Guid Id { get; set; }
+ public Guid RowId { get; set; }
+
///
/// QuestionId
///
diff --git a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs
index 58d552569..9bf67fbf8 100644
--- a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs
+++ b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs
@@ -68,7 +68,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap()
.ForMember(d => d.ShowOrder, u => u.MapFrom(s => s.ReadingQuestionTrial.ShowOrder))
- .ForMember(d => d.RowIndex, u => u.MapFrom(s => s.RowIndex.ToString()));
+ .ForMember(d => d.RowIndex, u => u.MapFrom(s => s.RowIndex.ToString()))
+ .ForMember(d => d.RowId, u => u.MapFrom(s => s.Id));