修改HIR 匿名化逻辑2
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
972b18e4df
commit
ccb7d5edc0
|
|
@ -41,7 +41,7 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
|
|
||||||
public bool IsForwardImageMultiThread { get; set; }
|
public bool IsForwardImageMultiThread { get; set; }
|
||||||
|
|
||||||
|
public bool IsUploadImageAnonymization { get; set; }
|
||||||
|
|
||||||
public List<string> CalledAEList { get; set; }
|
public List<string> CalledAEList { get; set; }
|
||||||
|
|
||||||
|
|
@ -469,6 +469,9 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
|
|
||||||
#region 匿名化
|
#region 匿名化
|
||||||
|
|
||||||
|
if (DicomSCPServiceConfig.IsUploadImageAnonymization)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
var anonymizeList = await _fusionCache.GetOrSetAsync(CacheKeys.SystemAnonymization, _ => CacheHelper.GetSystemAnonymizationListAsync(_systemAnonymizationRepository), TimeSpan.FromDays(7));
|
var anonymizeList = await _fusionCache.GetOrSetAsync(CacheKeys.SystemAnonymization, _ => CacheHelper.GetSystemAnonymizationListAsync(_systemAnonymizationRepository), TimeSpan.FromDays(7));
|
||||||
|
|
||||||
|
|
@ -520,6 +523,9 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
//}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
"Hangfire": "Server=106.14.89.110,1435;Database=Test_HIR_Hangfire;User ID=sa;Password=xc@123456;TrustServerCertificate=true"
|
"Hangfire": "Server=106.14.89.110,1435;Database=Test_HIR_Hangfire;User ID=sa;Password=xc@123456;TrustServerCertificate=true"
|
||||||
},
|
},
|
||||||
"DicomSCPServiceConfig": {
|
"DicomSCPServiceConfig": {
|
||||||
|
"IsUploadImageAnonymization": false,
|
||||||
"IsSupportThirdService": true,
|
"IsSupportThirdService": true,
|
||||||
"IsForwardImageMultiThread": true,
|
"IsForwardImageMultiThread": true,
|
||||||
"MultiThreadCount": 10,
|
"MultiThreadCount": 10,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue