From 37863af14b31142b4fb3f018bb558cd9a5800d02 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 22 Sep 2022 14:42:23 +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/OrganInfoViewModel.cs | 2 ++ IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs | 2 +- IRaCIS.Core.Domain/Reading/CriterionNidus.cs | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs index 8cc287ed5..367e4913d 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/OrganInfoViewModel.cs @@ -90,6 +90,8 @@ namespace IRaCIS.Core.Application.ViewModel public OrganType OrganType { get; set; } public DateTime CreateTime { get; set; } public Guid CreateUserId { get; set; } + + public bool CriterionNidus { get; set; } } public class BatchAddTrialOrganInDto { diff --git a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs index d631f106a..b85299624 100644 --- a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs +++ b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs @@ -328,7 +328,7 @@ namespace IRaCIS.Core.Application.Service LesionType = x.LesionType, OriginalId = x.Id, OrganType=x.OrganType, - + IsSystemCriterion=false, }).ToListAsync(); criterionNidusList.ForEach(x => x.Id = NewId.NextGuid()); diff --git a/IRaCIS.Core.Domain/Reading/CriterionNidus.cs b/IRaCIS.Core.Domain/Reading/CriterionNidus.cs index 7d87156e3..4428629b3 100644 --- a/IRaCIS.Core.Domain/Reading/CriterionNidus.cs +++ b/IRaCIS.Core.Domain/Reading/CriterionNidus.cs @@ -43,6 +43,11 @@ namespace IRaCIS.Core.Domain.Models /// public Guid CreateUserId { get; set; } + /// + /// 是否是系统标准 + /// + public bool IsSystemCriterion { get; set; } + }