diff --git a/IRaCIS.Core.Application/Service/Reading/ShortcutKey/ShortcutKeyService.cs b/IRaCIS.Core.Application/Service/Reading/ShortcutKey/ShortcutKeyService.cs index 502f937ed..7b7c2e0d0 100644 --- a/IRaCIS.Core.Application/Service/Reading/ShortcutKey/ShortcutKeyService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ShortcutKey/ShortcutKeyService.cs @@ -33,6 +33,7 @@ namespace IRaCIS.Core.Application.Service var defaultshortcutKeyList = this.GetDefaultShortcutKey(); var shortcutKeydic = await _dictionaryRepository.Where(x => x.Parent.Code == "ShortcutKey") + .Where(x=>x.ChildGroup.Contains(inQuery.ImageToolType.ToString())) .WhereIf(inQuery.ShortcutKeyEnum != null, x => x.Code == inQuery.ShortcutKeyEnum.ToString()).ToListAsync(); diff --git a/IRaCIS.Core.Domain/Reading/ShortcutKey/DefaultShortcutKey.cs b/IRaCIS.Core.Domain/Reading/ShortcutKey/DefaultShortcutKey.cs index 7d2fa655c..33a777df1 100644 --- a/IRaCIS.Core.Domain/Reading/ShortcutKey/DefaultShortcutKey.cs +++ b/IRaCIS.Core.Domain/Reading/ShortcutKey/DefaultShortcutKey.cs @@ -13,6 +13,9 @@ public class ShortcutKey : BaseAddAuditEntity [Comment("按键枚举")] public int ShortcutKeyEnum { get; set; } + /// + /// 1 Dicom 2非Dicom 3 视频 + /// [Comment("影像工具类型")] public int ImageToolType { get; set; } public Guid UserId { get; set; }