From cdd30a99789d792038118f22ac8490141ceb6e91 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Thu, 21 Jul 2022 14:27:44 +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.API/Controllers/InspectionController.cs | 2 +-
.../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 5 +++++
.../Service/Reading/Interface/IReadingImageTaskService.cs | 2 +-
.../Service/Reading/ReadingImageTaskService.cs | 6 +++---
4 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/IRaCIS.Core.API/Controllers/InspectionController.cs b/IRaCIS.Core.API/Controllers/InspectionController.cs
index caaebd0ef..88c449a4e 100644
--- a/IRaCIS.Core.API/Controllers/InspectionController.cs
+++ b/IRaCIS.Core.API/Controllers/InspectionController.cs
@@ -113,7 +113,7 @@ namespace IRaCIS.Core.API.Controllers
///
[HttpPost, Route("Inspection/ReadingImageTask/SubmitGlobalReadingInfo")]
[UnitOfWork]
- public async Task SubmitGlobalReadingInfo(DataInspectionDto opt)
+ public async Task SubmitGlobalReadingInfo(DataInspectionDto opt)
{
var singid = await _inspectionService.RecordSing(opt.SignInfo);
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index c66d54b68..053e306a7 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -22,6 +22,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid VisitTaskId { get; set; }
}
+ public class SubmitGlobalReadingInfoInDto
+ {
+ public Guid GlobalTaskId { get; set; }
+ }
+
public class SaveGlobalReadingInfoInDto
{
public Guid GlobalTaskId { get; set; }
diff --git a/IRaCIS.Core.Application/Service/Reading/Interface/IReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/Interface/IReadingImageTaskService.cs
index 0a37e8e0b..8115ce6a4 100644
--- a/IRaCIS.Core.Application/Service/Reading/Interface/IReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Interface/IReadingImageTaskService.cs
@@ -18,6 +18,6 @@ namespace IRaCIS.Core.Application.Contracts
void FindChildQuestion(GetTrialReadingQuestionOutDto trialReadingQuestion, List questionlists);
- Task SubmitGlobalReadingInfo(SaveGlobalReadingInfoInDto inDto);
+ Task SubmitGlobalReadingInfo(SubmitGlobalReadingInfoInDto inDto);
}
}
\ No newline at end of file
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
index fc641ff9a..79a6428dc 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
@@ -797,13 +797,13 @@ namespace IRaCIS.Application.Services
///
///
[NonDynamicMethod]
- public async Task SubmitGlobalReadingInfo(SaveGlobalReadingInfoInDto inDto)
+ public async Task SubmitGlobalReadingInfo(SubmitGlobalReadingInfoInDto inDto)
{
- var result = await this.SaveGlobalReadingInfo(inDto);
+ //var result = await this.SaveGlobalReadingInfo(inDto);
await this.SubmitTaskChangeState(inDto.GlobalTaskId);
- return result;
+ return ResponseOutput.Ok(true) ;
}
///