From c2370c16fc80b23bd38d08b6d4ebe447642b3754 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Mon, 4 Jul 2022 17:30:31 +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
---
.gitignore | 1 +
.../Reading/Dto/ReadingMedicalReviewDto.cs | 9 +++++++++
.../Reading/ReadingMedicalReviewService.cs | 17 +++++++++++++++++
3 files changed, 27 insertions(+)
diff --git a/.gitignore b/.gitignore
index 9214bf5ac..588b92b85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -366,3 +366,4 @@ FodyWeavers.xsd
/TrialData/4067198c-f9c4-47de-705a-08da12df3a17/6dedb49c-874c-4f7c-5c0d-08d947774c19
/TrialData/2a864970-1832-4cf9-f3ab-08da0cd341a0/01a4d468-caa4-41a2-ab36-c42ba30130ac/3210c828-cf32-4a70-fa40-08da0cd72d16/9a3b5449-ac01-4df1-bf24-08da0cd72d2a/Dicom/d287dde0-b9d1-9b37-28bb-371b6a445cf1
TrialData
+/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
index c37d9070d..b433fe21d 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
@@ -74,6 +74,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
}
+ public class ClosedMedicalReviewDialogInDto
+ {
+ public Guid TaskMedicalReviewId { get; set; }
+
+ ///
+ /// 是否关闭
+ ///
+ public bool IsClosedDialog { get; set; }
+ }
public class SaveMedicalReviewInfoInDto
{
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
index 4dd48822c..f12bfdcdc 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
@@ -257,6 +257,23 @@ namespace IRaCIS.Core.Application.Service
return ResponseOutput.Result(result);
}
+
+ ///
+ /// 关闭医学审核对话
+ ///
+ ///
+ [HttpPost]
+ public async Task ClosedMedicalReviewDialog(ClosedMedicalReviewDialogInDto inDto)
+ {
+ await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
+ {
+ IsClosedDialog = inDto.IsClosedDialog
+ });
+
+ var result = await _taskMedicalReviewRepository.SaveChangesAsync();
+ return ResponseOutput.Result(result);
+ }
+
///
/// 发送对话消息
///