From 38e10d647e1a17f8d7e866147f18909a03e43389 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Mon, 13 Jun 2022 09:28:55 +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
---
.../Reading/Dto/ReadingClinicalDataDto.cs | 26 +++++++++++++------
.../Reading/ReadingClinicalDataService.cs | 12 +++++++++
2 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingClinicalDataDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingClinicalDataDto.cs
index 6db1c9c15..4eb201e89 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingClinicalDataDto.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingClinicalDataDto.cs
@@ -40,15 +40,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public bool IsVisit { get; set; }
- ///
- /// 是否盲化
- ///
- public bool IsBlind { get; set; }
+ /////
+ ///// 是否盲化
+ /////
+ //public bool IsBlind { get; set; }
- ///
- /// 是否完整
- ///
- public bool IsComplete { get; set; }
+ /////
+ ///// 是否完整
+ /////
+ //public bool IsComplete { get; set; }
///
/// 要删除的对象
@@ -60,6 +60,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public List AddFileList { get; set; } = new List();
}
+ ///
+ /// 是否盲化
+ ///
+ public class SetReadingClinicalDataIsBlind
+ {
+ public Guid Id { get; set; }
+
+ public bool IsBlind { get; set; }
+ }
+
public class FileDto
{
///
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingClinicalDataService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingClinicalDataService.cs
index 5acc9a6c5..404b00066 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingClinicalDataService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingClinicalDataService.cs
@@ -111,6 +111,18 @@ namespace IRaCIS.Application.Services
}
+ /////
+ ///// 设置临床数据是否盲化
+ /////
+ /////
+ //[HttpPost]
+ //public async Task SetReadingClinicalDataIsBlind(SetReadingClinicalDataIsBlind inDto)
+ //{
+ // await _readingClinicalDataRepository.UpdatePartialFromQueryAsync(inDto.Id, x=>new ReadingClinicalData() {
+ // IsBlind=inDto.IsBlind,
+ // });
+ // return ResponseOutput.Ok(await _readingClinicalDataRepository.SaveChangesAsync());
+ //}
///
/// 删除