修改分割版本
continuous-integration/drone/push Build is running Details

Uat_IRC_Net8
he 2026-05-12 17:05:31 +08:00
parent 01c5b96bc7
commit 098196b599
2 changed files with 7 additions and 2 deletions

View File

@ -18242,6 +18242,11 @@
文件大小,单位字节
</summary>
</member>
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentationAddOrEdit.SEGUpdateTime">
<summary>
SEGUpdateTime 更新时间
</summary>
</member>
<member name="P:IRaCIS.Core.Application.ViewModel.SegmentationVersionView.StartTime">
<summary>
版本开始时间

View File

@ -98,7 +98,7 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
/// </summary>
/// <param name="inDto"></param>
/// <returns></returns>
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<Segmentation> _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<SegmentVersionData>(_mapper.ConfigurationProvider).ToListAsync();
.Where(x => x.SegmentationId == inDto.SegmentationId).OrderBy(x=>x.SegmentNumber).IgnoreQueryFilters().ProjectTo<SegmentVersionData>(_mapper.ConfigurationProvider).ToListAsync();
if (data.SEGUrl != string.Empty&&(inDto.SEGUrl!=data.SEGUrl||inDto.IsRestore))
{