Compare commits

..

No commits in common. "f6c94901249d55288ee6cb65cf2b858555f558be" and "c330fdc1455f4b30a34c91aca961f68d1794d620" have entirely different histories.

1 changed files with 16 additions and 21 deletions

View File

@ -91,9 +91,6 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
private async Task SaveSegmentationVersionAsync(Guid segmentationId)
{
var data = await _segmentationRepository.FirstOrDefaultNoTrackingAsync(x => x.Id == segmentationId);
if (data.SEGUrl != string.Empty)
{
// 如果是新增或修改,记录一条版本信息
var maxVersion = await _segmentationVersionRepository
.Where(x => x.SegmentationId == data.Id)
@ -116,8 +113,6 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
await _segmentationRepository.SaveChangesAsync();
}
}
/// <summary>
/// 获取分割组历史版本