From a9a45fd8ac93c9e0c09f81e6c570e369f4568d27 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Mon, 19 Sep 2022 14:22:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Common/DictionaryService.cs | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/IRaCIS.Core.Application/Service/Common/DictionaryService.cs b/IRaCIS.Core.Application/Service/Common/DictionaryService.cs
index 6dd7b8082..06d048f6c 100644
--- a/IRaCIS.Core.Application/Service/Common/DictionaryService.cs
+++ b/IRaCIS.Core.Application/Service/Common/DictionaryService.cs
@@ -190,6 +190,21 @@ namespace IRaCIS.Application.Services
return searchList;
}
+
+ ///
+ /// 根据父亲字典分组 获取子项
+ ///
+ ///
+ ///
+ public async Task> GetBasicConfigSelect(string searchKey)
+ {
+ var searchList = await _dicRepository.Where(t => t.ConfigDictionary.Code == searchKey && t.ParentId == null && t.IsEnable).ProjectTo(_mapper.ConfigurationProvider).ToListAsync();
+
+ return searchList;
+ }
+
+
+
///
/// 获取所有下拉框 枚举 bool 数据
///