From 098196b599c69b7b24b512ba433049befa18ef2f Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Tue, 12 May 2026 17:05:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E5=89=B2=E7=89=88?=
=?UTF-8?q?=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 5 +++++
.../Service/Reading/Segment/SegmentationService.cs | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index 90964da2d..774868c86 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -18242,6 +18242,11 @@
文件大小,单位字节
+
+
+ SEGUpdateTime 更新时间
+
+
版本开始时间
diff --git a/IRaCIS.Core.Application/Service/Reading/Segment/SegmentationService.cs b/IRaCIS.Core.Application/Service/Reading/Segment/SegmentationService.cs
index 0278d9fe7..b59c5ba8c 100644
--- a/IRaCIS.Core.Application/Service/Reading/Segment/SegmentationService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Segment/SegmentationService.cs
@@ -98,7 +98,7 @@ public class SegmentationService(IRepository _segmentationReposito
///
///
///
- private async Task SaveSegmentationVersionAsync(SaveSegmentationVersionAsyncInDto inDto)
+ public async Task SaveSegmentationVersionAsync(SaveSegmentationVersionAsyncInDto inDto)
{
var data = await _segmentationRepository.FirstOrDefaultNoTrackingAsync(x => x.Id == inDto.SegmentationId);
// 如果是新增或修改,记录一条版本信息
@@ -113,7 +113,7 @@ public class SegmentationService(IRepository _segmentationReposito
var segmentList = await _segmentRepository
.Where(x=>x.CreateTime<= startTime && (!x.IsDeleted||x.DeletedTime> startTime))
- .Where(x => x.SegmentationId == inDto.SegmentationId).OrderBy(x=>x.SegmentNumber).ProjectTo(_mapper.ConfigurationProvider).ToListAsync();
+ .Where(x => x.SegmentationId == inDto.SegmentationId).OrderBy(x=>x.SegmentNumber).IgnoreQueryFilters().ProjectTo(_mapper.ConfigurationProvider).ToListAsync();
if (data.SEGUrl != string.Empty&&(inDto.SEGUrl!=data.SEGUrl||inDto.IsRestore))
{