From cb25fa309fed467a7052c1db7518a546df9efe93 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 25 Jul 2025 11:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Inspection/InspectionService.cs | 2 +- IRaCIS.Core.Domain/Trial/DataInspection.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index 665bd0618..2a8320a3a 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -146,7 +146,7 @@ namespace IRaCIS.Core.Application.Service.Inspection SubjectVisitId = data.SubjectVisitId, //OptType = data.OptType, IP = data.IP, - Reason = data.Reason, + Reason = leftfrontAuditConfig.IsHaveReason? data.Reason:string.Empty, IsSign = leftfrontAuditConfig.IsHaveSign && lefttrialSign.SignText != null && lefttrialSign.SignText != string.Empty, SignId = data.SignId, ParentId = data.ParentId, diff --git a/IRaCIS.Core.Domain/Trial/DataInspection.cs b/IRaCIS.Core.Domain/Trial/DataInspection.cs index 9ba310d6a..84d99112d 100644 --- a/IRaCIS.Core.Domain/Trial/DataInspection.cs +++ b/IRaCIS.Core.Domain/Trial/DataInspection.cs @@ -66,6 +66,9 @@ public class DataInspection : BaseAddAuditEntity [Comment("父ID")] public Guid? ParentId { get; set; } + /// + /// 原因 + /// public string Reason { get; set; } = string.Empty; [Comment("角色名称")]