From 10a2a8f4f346fda35cbb730d3b0bd38d20fe639c Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 22 Apr 2022 15:22:34 +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 | 3 ++- IRaCIS.Core.Application/Service/QC/QCOperationService.cs | 2 +- IRaCIS.Core.Domain/Trial/DataInspection.cs | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index 3d377d854..6ae357b0e 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -137,7 +137,8 @@ namespace IRaCIS.Core.Application.Service.Inspection Identification= leftfrontAuditConfig.Identification, OptType= leftOptType.Value, VisitNum=leftsubjectVisit.VisitNum, - + IsFrontAdd=data.IsFrontAdd + }; query = query.WhereIf(dto.TrialId != null, x => x.TrialId == dto.TrialId) diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index 8d614d46e..825c192e4 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -1632,7 +1632,7 @@ namespace IRaCIS.Core.Application.Image.QA // 删除序列 List datas = new List(); - var DicomSeriesdata = await _repository.GetQueryable().Where(x => x.SubjectVisitId == subjectVisitId).Select(x => new { + var DicomSeriesdata = await _repository.GetQueryable().Where(x => x.SubjectVisitId == subjectVisitId&&x.IsDeleted).Select(x => new { StudyCode = x.DicomStudy.StudyCode, Modalities = x.DicomStudy.Modalities, SeriesNumber = x.SeriesNumber, diff --git a/IRaCIS.Core.Domain/Trial/DataInspection.cs b/IRaCIS.Core.Domain/Trial/DataInspection.cs index a518f0d08..b6d8e94fe 100644 --- a/IRaCIS.Core.Domain/Trial/DataInspection.cs +++ b/IRaCIS.Core.Domain/Trial/DataInspection.cs @@ -159,6 +159,11 @@ namespace IRaCIS.Core.Domain.Models /// 通用Id /// public Guid? GeneralId { get; set; } + + /// + /// 是否是前端添加 + /// + public bool? IsFrontAdd { get; set; } }