34 lines
1004 B
C#
34 lines
1004 B
C#
using JNPF.Systems.Entitys.System;
|
||
|
||
namespace JNPF.Systems.Interfaces.System;
|
||
|
||
/// <summary>
|
||
/// 字典数据
|
||
/// 版 本:V3.2
|
||
/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
|
||
/// 日 期:2021-06-01.
|
||
/// </summary>
|
||
public interface IDictionaryDataService
|
||
{
|
||
/// <summary>
|
||
/// 获取数据字典列表.
|
||
/// </summary>
|
||
/// <param name="dictionaryTypeId">分类id或编码.</param>
|
||
/// <param name="enabledMark">是否过滤启用状态.</param>
|
||
/// <returns></returns>
|
||
Task<List<DictionaryDataEntity>> GetList(string dictionaryTypeId, bool enabledMark = true);
|
||
|
||
/// <summary>
|
||
/// 获取按钮信息.
|
||
/// </summary>
|
||
/// <param name="id">主键id.</param>
|
||
/// <returns></returns>
|
||
Task<DictionaryDataEntity> GetInfo(string id);
|
||
|
||
/// <summary>
|
||
/// 根据key获取字典
|
||
/// </summary>
|
||
/// <param name="key"></param>
|
||
/// <returns></returns>
|
||
Task<Dictionary<string, object>> GetDicByKey(string key);
|
||
} |