using System.Collections.Generic; using System.Threading.Tasks; using Znyc.Recruitment.Admin.Commons.IServices; using Znyc.Recruitment.Admin.Security.Dtos; using Znyc.Recruitment.Admin.Security.Entitys; namespace Znyc.Recruitment.Admin.Security.IServices { public interface IDictionaryService : IService { /// /// 获取功能菜单适用于Vue 树形列表 /// /// Task> GetAllDictionaryTreeTable(); /// /// 根据编码查询字典分类 /// /// /// Task GetByEnCodAsynce(string enCode); /// /// 更新时判断分类编码是否存在(排除自己) /// /// 分类编码主键Id /// Task GetByEnCodAsynce(string enCode, long id); /// /// 查询单条数据字典 /// /// /// Task GetDictionaryById(long id); /// /// 根据ParentId查询数据字典列表 /// /// /// Task> GetListByPidAsync(long pid); } }