From 251605b23b5bdf8df1fedc3e16f3b3d9dc04e445 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 30 Mar 2022 11:51:03 +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/Inspection/InspectionService.cs | 4 +-- IRaCIS.Core.Domain/Trial/DataInspection.cs | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index 0997f6de9..f88b50ae7 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -246,7 +246,7 @@ namespace IRaCIS.Core.Application.Service.Inspection add.SignId = signId; add.IP = _userInfo.IP; await _repository.AddAsync(add); - if (addDto.OptType.ToLower() == "Add".ToLower()|| Statusdata!=null) + if (addDto.OptType.ToLower() == "Add".ToLower()&& Statusdata!=null) { @@ -260,7 +260,7 @@ namespace IRaCIS.Core.Application.Service.Inspection BlindName = add.BlindName, ChildrenType = "Status", OptType = "Init", - CreateTime = add.CreateTime, + CreateTime = add.CreateTime.AddMilliseconds(1), CreateUserId = add.CreateUserId, IP = add.IP, ModuleType = add.ModuleType, diff --git a/IRaCIS.Core.Domain/Trial/DataInspection.cs b/IRaCIS.Core.Domain/Trial/DataInspection.cs index 83ba2e18c..d7bef0159 100644 --- a/IRaCIS.Core.Domain/Trial/DataInspection.cs +++ b/IRaCIS.Core.Domain/Trial/DataInspection.cs @@ -99,6 +99,34 @@ namespace IRaCIS.Core.Domain.Models public string JsonDetail { get; set; } = string.Empty; + /// + /// 创建人名称 + /// + public string CreateUserName { get; set; } + + /// + /// 项目名称 + /// + public string TrialName { get; set; } + + /// + /// 中心名称 + /// + public string SiteName { get; set; } + + /// + /// 受试者名称 + /// + public string SubjectName { get; set; } + + /// + /// 创建人名称 + /// + public string SubjectVisitName { get; set; } + /// + /// 创建人名称 + /// + public string RoleName { get; set; } }