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("角色名称")]