diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index 7a723c8da..69860dd2c 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -3026,6 +3026,27 @@
器官服务层
+
+
+ 获取标准病灶列表
+
+
+
+
+
+
+ 新增修改标准病灶列表
+
+
+
+
+
+
+ 删除病灶列表
+
+
+
+
获取系统器官信息
@@ -3589,6 +3610,12 @@
SystemNoticeAddOrEdit 列表查询参数模型
+
+ CriterionNidusQuery 列表查询参数模型
+
+
+ CriterionNidusAddOrEdit 列表查询参数模型
+
OrganInfoView 列表视图模型
@@ -3597,31 +3624,11 @@
备注
-
-
- 类型枚举
-
-
是否关联
-
-
- 类型枚举
-
-
-
-
- 类型枚举
-
-
-
-
- 类型枚举
-
-
备注
@@ -3630,27 +3637,22 @@
OrganInfoQuery 列表查询参数模型
-
-
- 类型枚举
-
-
OrganInfoAddOrEdit 列表查询参数模型
-
-
- 类型枚举
-
-
备注
-
+
- 是否关联
+ 是否是淋巴结
+
+
+
+
+ 标准 病灶类型
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs
index 3f36f28a0..7f0922cce 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs
@@ -77,6 +77,12 @@ namespace IRaCIS.Core.Application.ViewModel
}
+ public class SetOrganIsEnableInDto
+ {
+ public bool IsEnable { get; set; }
+
+ public List Ids { get; set; }
+ }
public class GetTrialOrganListInDto
{
public Guid TrialId { get; set; }
diff --git a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs
index 40c0f0a72..d98f664e8 100644
--- a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs
@@ -218,7 +218,23 @@ namespace IRaCIS.Core.Application.Service
}
-
+ ///
+ /// 设置项目器官是否生效
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task SetOrganIsEnable(SetOrganIsEnableInDto inDto)
+ {
+ await _organTrialInfoRepository.UpdatePartialFromQueryAsync(x => inDto.Ids.Contains(x.Id), x => new OrganTrialInfo()
+ {
+ IsEnable=inDto.IsEnable
+ });
+
+ await _organTrialInfoRepository.SaveChangesAsync();
+
+ return ResponseOutput.Ok();
+ }
}
}