You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.7 KiB
54 lines
1.7 KiB
2 years ago
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using Znyc.Cloudcar.Admin.Commons.IServices;
|
||
|
using Znyc.Cloudcar.Admin.Security.Dtos;
|
||
|
using Znyc.Cloudcar.Admin.Security.Entitys;
|
||
|
|
||
|
namespace Znyc.Cloudcar.Admin.Security.IServices
|
||
|
{
|
||
|
public interface IDictionaryService : IService<DictionaryEntity, DictionaryOutputDto, long>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ��ȡ���ܲ˵�������Vue �����б�
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
Task<List<DictionaryOutputDto>> GetAllDictionaryTreeTable();
|
||
|
|
||
|
/// <summary>
|
||
|
/// ���ݱ�����ѯ�ֵ�����
|
||
|
/// </summary>
|
||
|
/// <param name="enCode"></param>
|
||
|
/// <returns></returns>
|
||
|
Task<DictionaryEntity> GetByEnCodAsynce(string enCode);
|
||
|
|
||
|
/// <summary>
|
||
|
/// ����ʱ�жϷ��������Ƿ����ڣ��ų��Լ���
|
||
|
/// </summary>
|
||
|
/// <param name="enCode">��������</param
|
||
|
/// <param name="id">����Id</param>
|
||
|
/// <returns></returns>
|
||
|
Task<DictionaryEntity> GetByEnCodAsynce(string enCode, long id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// ��ѯ���������ֵ�
|
||
|
/// </summary>
|
||
|
/// <param name="id"></param>
|
||
|
/// <returns></returns>
|
||
|
Task<DictionaryOutputDto> GetDictionaryById(long id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// ����ParentId��ѯ�����ֵ��б�
|
||
|
/// </summary>
|
||
|
/// <param name="pid"></param>
|
||
|
/// <returns></returns>
|
||
|
Task<List<DictionaryListOutput>> GetListByPidAsync(long pid);
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <param name="pid"></param>
|
||
|
/// <param name="code"></param>
|
||
|
/// <returns></returns>
|
||
|
Task<List<DictionaryListOutput>> GetListByCodeAsync(long pid, string code);
|
||
|
}
|
||
|
}
|