Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
commit
e150fbb807
|
|
@ -91,6 +91,9 @@ 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)
|
||||
|
|
@ -113,6 +116,8 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
|
|||
await _segmentationRepository.SaveChangesAsync();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取分割组历史版本
|
||||
|
|
|
|||
Loading…
Reference in New Issue