修改维护统计数字问题
continuous-integration/drone/push Build is passing Details

Temp_Uat_IRC_Net8
hang 2025-09-23 09:37:26 +08:00
parent d607018832
commit 64c3d96807
1 changed files with 9 additions and 3 deletions

View File

@ -1829,7 +1829,7 @@ namespace IRaCIS.Core.Application.Service
InstanceCount = 0
};
++findStudy.SeriesCount;
//++findStudy.SeriesCount;
}
@ -1882,8 +1882,8 @@ namespace IRaCIS.Core.Application.Service
WindowWidth = dataset.GetSingleValueOrDefault(DicomTag.WindowWidth, string.Empty),
};
++findStudy.InstanceCount;
++findSerice.InstanceCount;
//++findStudy.InstanceCount;
//++findSerice.InstanceCount;
//賦值路徑
findInstance.Path = "/" + path;
@ -1895,6 +1895,8 @@ namespace IRaCIS.Core.Application.Service
{
archieveInfo.IsSeriesAdd = true;
++findStudy.SeriesCount;
Console.WriteLine($"增加SeriesId:{seriesId}");
await _seriesRepository.AddAsync(findSerice);
@ -1902,6 +1904,10 @@ namespace IRaCIS.Core.Application.Service
if (isInstanceNeedAdd && !addInstanceIdList.Any(t => t == instanceId))
{
archieveInfo.IsInstanceAdd = true;
++findStudy.InstanceCount;
++findSerice.InstanceCount;
await _instanceRepository.AddAsync(findInstance);
Console.WriteLine($"增加Instance:{instanceId}");