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; } }