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.

52 lines
1.6 KiB

using System.Collections.Generic;
using System.Threading.Tasks;
using Znyc.Admin.Commons.IServices;
using Znyc.Admin.Commons.Pages;
using Znyc.Admin.Security.Dtos;
using Znyc.Admin.Security.Entitys;
namespace Znyc.Admin.Security.IServices
{
public interface IDictionaryService : IService<Dictionary, DictionaryOutputDto, long>
{
/// <summary>
/// ��ȡ���ܲ˵�������Vue �����б�
/// </summary>
/// <returns></returns>
Task<List<DictionaryOutputDto>> GetAllItemsTreeTable();
/// <summary>
/// ���ݱ�����ѯ�ֵ�����
/// </summary>
/// <param name="enCode"></param>
/// <returns></returns>
Task<Dictionary> GetByEnCodAsynce(string enCode);
/// <summary>
/// ����ʱ�жϷ��������Ƿ����ڣ��ų��Լ���
/// </summary>
/// <param name="enCode">��������</param
/// <param name="id">����Id</param>
/// <returns></returns>
Task<Dictionary> GetByEnCodAsynce(string enCode, long id);
/// <summary>
/// ��ѯ�����ֵ��б�
/// </summary>
/// <param name="ids"></param>
/// <param name="code"></param>
/// <returns></returns>
Task<List<DictionaryOutputDto>> GetDictionaryListByWhere(string ids, string code);
/// <summary>
/// ��ѯ���������ֵ�
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DictionaryOutputDto> GetDictionaryById(long id);
Task<PageResult<DictionaryOutputDto>> FindWithPagerSearchAsync(SearchUserModel search);
Task<List<DictionaryOutputDto>> SyncDictionaryCache();
}
}