修改HIR 匿名化逻辑2
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2026-01-12 13:08:46 +08:00
parent 972b18e4df
commit ccb7d5edc0
2 changed files with 56 additions and 49 deletions

View File

@ -41,7 +41,7 @@ namespace IRaCIS.Core.SCP.Service
public bool IsForwardImageMultiThread { get; set; }
public bool IsUploadImageAnonymization { get; set; }
public List<string> CalledAEList { get; set; }
@ -469,6 +469,9 @@ namespace IRaCIS.Core.SCP.Service
#region 匿名化
if (DicomSCPServiceConfig.IsUploadImageAnonymization)
{
var anonymizeList = await _fusionCache.GetOrSetAsync(CacheKeys.SystemAnonymization, _ => CacheHelper.GetSystemAnonymizationListAsync(_systemAnonymizationRepository), TimeSpan.FromDays(7));
@ -520,6 +523,9 @@ namespace IRaCIS.Core.SCP.Service
//}
}
}
#endregion

View File

@ -24,6 +24,7 @@
"Hangfire": "Server=106.14.89.110,1435;Database=Test_HIR_Hangfire;User ID=sa;Password=xc@123456;TrustServerCertificate=true"
},
"DicomSCPServiceConfig": {
"IsUploadImageAnonymization": false,
"IsSupportThirdService": true,
"IsForwardImageMultiThread": true,
"MultiThreadCount": 10,