diff --git a/IRC.Core.SCP/appsettings.Test_HIR_SCP.json b/IRC.Core.SCP/appsettings.Test_HIR_SCP.json index 787c22596..03517a640 100644 --- a/IRC.Core.SCP/appsettings.Test_HIR_SCP.json +++ b/IRC.Core.SCP/appsettings.Test_HIR_SCP.json @@ -26,7 +26,7 @@ "DicomSCPServiceConfig": { "CalledAEList": [ "STORESCP", - "Value1", + "HIRAE", "Value2", "Value3" ], diff --git a/IRC.Core.SCP/appsettings.Uat_HIR_SCP.json b/IRC.Core.SCP/appsettings.Uat_HIR_SCP.json index 7f1c26e0f..eaf54ff41 100644 --- a/IRC.Core.SCP/appsettings.Uat_HIR_SCP.json +++ b/IRC.Core.SCP/appsettings.Uat_HIR_SCP.json @@ -28,7 +28,7 @@ "DicomSCPServiceConfig": { "CalledAEList": [ "STORESCP", - "Value1", + "HIRAE", "Value2", "Value3" ], diff --git a/IRaCIS.Core.Application/Service/Visit/PatientService.cs b/IRaCIS.Core.Application/Service/Visit/PatientService.cs index 6acd04e72..f1216a2b1 100644 --- a/IRaCIS.Core.Application/Service/Visit/PatientService.cs +++ b/IRaCIS.Core.Application/Service/Visit/PatientService.cs @@ -3157,6 +3157,11 @@ namespace IRaCIS.Application.Services _logger.LogError($" Cmove Pacs 状态返回失败: {response.SOPClassUID.ToJsonNotIgnoreNull()}"); } + // 判断是否传输完成或中断,执行缓存清理 + if (response.Status.State == DicomState.Success && response.Remaining == 0) + { + _fusionCache.Set(CacheKeys.CmoveStudyId(req.Dataset.GetString(DicomTag.StudyInstanceUID)), null, TimeSpan.FromSeconds(1)); + } }; var latestInstanceList = await _scpInstanceRepository.Where(t => inCommand.StudyInstanceUIDList.Contains(t.StudyInstanceUid))