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