You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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<BomDTO, SfsBaseDataRequestInputBase, BomEditInput>
|
|
|
|
, ISfsUpsertAppService<BomEditInput>
|
|
|
|
{
|
|
|
|
Task<List<BomDTO>> GetListAsync(string productItemCode, string mfgOp);
|
|
|
|
|
|
|
|
Task<List<BomDTO>> GetPlanListAsync(string productItemCode, string mfgOp);
|
|
|
|
|
|
|
|
Task<List<BomDTO>> GetBackFlushListAsync(string productItemCode, string mfgOp);
|
|
|
|
|
|
|
|
Task<List<BomDTO>> GetBomStepByStepAsync(string productItemCode, DateTime validTime, bool isStepByStep = true);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 所有子物料号
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="product"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<List<Bom>> GetListOfProductAsync(string product);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 所有父物料号
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="component"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<List<Bom>> GetListOfComponentAsync(string component);
|
|
|
|
Task AddOrUpsertListAsync(List<BomEditInput> inputs);
|
|
|
|
Task UpsertAsyncByInterface(BomEditInput input);
|
|
|
|
}
|