修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-06-04 13:59:58 +08:00
parent 9875d9622d
commit 19661c5e82
1 changed files with 12 additions and 0 deletions

View File

@ -87,6 +87,18 @@ namespace IRaCIS.Application.Services
return ResponseOutput.Ok(entity.Id.ToString());
}
/// <summary>
/// 获取所有字典的Key
/// </summary>
/// <returns></returns>
[HttpPost]
public async Task<List<string>> GetAllDictionaryKey()
{
var result =await _dicRepository.Where(t => t.ParentId == null).OrderBy(x=>x.Code).Select(x => x.Code).ToListAsync();
return result;
}
/// <summary>
/// 添加字典 的同时 一起添加子项 --New