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 IMaterialsRepository : IBaseRepository { #region wms /// /// 获取物料信息列表 /// /// 物料编码 /// 物料名称 /// 审核状态 /// 类型 /// 是否受控 /// 是否免检 /// 存储环境 /// List GetMateList(string skuNo, string skuName, string auditStatusNo, string type, string isControlled, string isInspect, string environment); /// /// 根据id查询物料信息 /// /// /// SysMaterials GetMateById(int id); /// /// 根据编号查询物料信息 /// /// 物料编号 /// List GetMateByNo(string SkuNo); /// /// 新增物料信息 /// /// 物料实体 /// Task AddMate(SysMaterials mate); /// /// 删除物料信息 /// /// 物料实体 /// Task DelMate(SysMaterials mate); /// /// 编辑物料信息 /// /// 物料实体 /// Task ExitMate(SysMaterials mate); #region 包装 单位 /// /// 获取计量单位信息列表 /// /// List GetUnitList(); /// /// 获取包装信息列表 /// /// List GetPackagList(); #endregion #endregion #region erp /// /// 获取erp数据 /// /// List GetERPList(); /// /// 根据id获取erp数据 /// /// id /// SysERPTest GetERPListById(int id); /// /// 新增erp数据 /// /// erp测试实体 /// Task AddERP(SysERPTest erp); /// /// 删除erp数据 /// /// erp测试实体 /// Task DelERP(SysERPTest erp); /// /// 编辑erp数据 /// /// erp测试实体 /// Task EditERP(SysERPTest erp); #endregion } }