From a37e2288f0626507ae161c99c8172620fe1fc57f Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 25 Aug 2022 15:45:08 +0800 Subject: [PATCH] x --- .../Service/Inspection/FrontAuditConfigService.cs | 6 +++++- IRaCIS.Core.Domain/Reading/ReadingClinicalData.cs | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs index 4eb7bb947..a3a01b563 100644 --- a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs @@ -397,7 +397,11 @@ namespace IRaCIS.Core.Application.Service var userObj = await _repository.Where(t => t.Id == objectRelationParentId).Select(t => new { UserRealName = t.FullName, t.Phone, t.UserName, UserType = t.UserTypeRole.UserTypeShortName, t.EMail, t.OrganizationName }).FirstOrDefaultAsync(); - objectLsit.Add(userObj); + if(userObj != null) + { + objectLsit.Add(userObj); + + } } } diff --git a/IRaCIS.Core.Domain/Reading/ReadingClinicalData.cs b/IRaCIS.Core.Domain/Reading/ReadingClinicalData.cs index 13bc1f96f..b8dcac361 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingClinicalData.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingClinicalData.cs @@ -36,7 +36,7 @@ namespace IRaCIS.Core.Domain.Models /// /// 是否为访视 - /// + /// xiu public bool IsVisit { get; set; } /// @@ -66,7 +66,6 @@ namespace IRaCIS.Core.Domain.Models public int FileCount { get; set; } - [JsonIgnore] //临床数据状态 public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }