using BPA.SAAS.Manage.Application.DataBase.Dtos.Goods; using BPA.SAAS.Manage.Application.DataBase.Dtos.GoodsAttribute; using BPA.SAAS.Manage.Core.Base; using BPA.SAAS.Manage.Core.DataBase; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Application.DataBase.Interface { public interface IGoodsService { /// /// 分页查询 /// /// /// Task GetGoodsPage(GoodsQueryDto dto); /// /// 添加商品 /// /// /// Task AddGoods(GoodsDto dto); /// /// 更新商品 /// /// /// Task UpdateGoods(GoodsDto dto); /// /// 删除商品 /// /// /// Task DeleteGoods(string id); /// /// 查询商品单位 /// /// Task> GetGoodsUintList(); /// /// 查询商品单位(外部调用) /// /// Task> GetGoodsUintList_alm(); /// /// 添加商品单位 /// /// /// Task AddGoodsUint(GoodsUintDto dto); /// /// 商品配方 /// /// /// Task GetGoodsBomPageAsync(GoodsBomQueryDto dto); /// /// 删除商品配方 /// /// /// Task BatchDelGoodsBomAsync(string Ids); Task AddGoodsBomAttribute(GoodsBomAttributeDto dto); Task AddGoodsBom(GoodsBomDto dto); Task> GetGoodsList(); /// /// 根据id查询商品信息 /// /// /// Task GetGoods(string id); /// /// 更具id查询商品信息 /// /// /// Task> GetGoodsListByIds(List ids); ///// ///// 设备上传商品数据 ///// ///// ///// //Task SendGoodsInfo(GoodsDatadto goodsDatadto); Task ExportGood(IFormFile file); /// /// 导出 设备工艺流程 /// /// Task TechnologyTemplateExport(string deviceId); /// /// 设备 版本 工序模型导入 /// /// Task DeviceVersionTemplateImport(DeviceVersionTemplateImportInputDto inputDto); } }