From bad0371444e0bcdaf17d9078203b9df8374d2624 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Tue, 26 Jul 2022 17:45:08 +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 | 9 ++++++++-
.../Service/Reading/ReadingImageTaskService.cs | 3 +--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index 09c81abf4..8ccb76c06 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -358,11 +358,18 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
}
+ public class GetSystemReadingQuestionInDto
+ {
+ [NotDefault]
+ public Guid ReadingQuestionCriterionSystemId { get; set; }
+
+
+ }
public class GetTrialReadingQuestionInDto
{
[NotDefault]
- public Guid ReadingQuestionCriterionSystemId { get; set; }
+ public Guid ReadingQuestionCriterionTrialId { get; set; }
public Guid? VisitTaskId { get; set; }
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
index 210182760..c20455421 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
@@ -627,10 +627,9 @@ namespace IRaCIS.Application.Services
///
///
[HttpPost]
- public async Task GetSystemReadingQuestion(GetTrialReadingQuestionInDto inDto)
+ public async Task GetSystemReadingQuestion(GetSystemReadingQuestionInDto inDto)
{
var result = new GetTrialReadingQuestionPageDto();
-
var query = from data in _readingQuestionSystem.Where(x => x.ReadingQuestionCriterionSystemId == inDto.ReadingQuestionCriterionSystemId)
select new GetTrialReadingQuestionOutDto()
{