修改维护统计数字问题
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d607018832
commit
64c3d96807
|
|
@ -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}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue