using System; using System.Collections.Generic; using System.Threading.Tasks; using Win_in.Sfs.Basedata.Domain; using Win_in.Sfs.Shared.Application.Contracts; namespace Win_in.Sfs.Basedata.Application.Contracts; public interface IBomAppService : ISfsBaseDataAppServiceBase , ISfsUpsertAppService { Task> GetListAsync(string productItemCode, string mfgOp); Task> GetPlanListAsync(string productItemCode, string mfgOp); Task> GetBackFlushListAsync(string productItemCode, string mfgOp); Task> GetBomStepByStepAsync(string productItemCode, DateTime validTime, bool isStepByStep = true); /// /// 所有子物料号 /// /// /// Task> GetListOfProductAsync(string product); /// /// 所有父物料号 /// /// /// Task> GetListOfComponentAsync(string component); Task AddOrUpsertListAsync(List inputs); Task UpsertAsyncByInterface(BomEditInput input); /// /// 根据总成号、总成数量取所有子物料及其汇总数量 /// /// 总成号 /// 总成数量 /// Task> GetMaterialTotalQtyAsync(string productCode, int productNum); Task> GetBomTreeByCodeAsync(string productCode); }