using Model.ModelDto.SysDto; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using WMS.Entity.SysEntity; namespace WMS.IDAL.ISysInterface { public interface IDictionaryRepository: IBaseRepository { /// /// 获取字典信息列表 /// /// 字典名称 /// 父级字典号 /// 层级 /// 允许编辑 /// 允许新增 /// List GetDicList(string DictName,string DictNo, string Level, string IsEdit, string IsAdd); /// /// 获取父级字典号(根据层级根目录) /// /// List GetDicParentListByLevel(); /// /// 根据id获取字典信息 /// /// 字典id /// SysDictionary GetDicById(int id); /// /// 根据编号查询字典信息 /// /// 字典编号 /// List GetDicByNo(string DictNo); /// /// 新增字典信息 /// /// 数据字典实体模型 /// Task AddDic(SysDictionary dic); /// /// 删除功能信息 /// /// 数据字典实体模型 /// Task DelDic(SysDictionary dic); /// /// 编辑功能信息 /// /// 数据字典实体模型 /// Task ExitDic(SysDictionary dic); } }