using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Model.ModelDto.SysDto; using WMS.Entity.SysEntity; namespace WMS.IBLL.ISysServer { public interface IUnitServer { /// /// 查询计量单位信息 /// /// 单位编号 /// 单位名称 /// /// /// /// List GetUnitList(string unitNo,string unitName,int page,int limit,out int count); /// /// 获取单条单位信息 /// /// /// SysUnit GetUnit(int id); /// /// 添加单位信息 /// /// 名称 /// 缩写 /// 操作人 /// bool AddUnit(string unitName,string abbrev,int userId); /// /// 编辑单位信息 /// /// /// 名称 /// 缩写 /// 操作人 /// bool EditUnit(int id, string unitName, string abbrev, int userId); /// /// 删除单位信息 /// /// /// /// bool DelUnit(int id,int userId); /// /// 删除单位信息(多删除) /// /// id集合 /// /// bool DelsUnit(List ids, int userId); } }