using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.CallMaterialOrder;
using CMS.Plugin.PipeLineLems.Domain.CallMaterialOrder;
using System.Linq.Expressions;
using Volo.Abp;
using Volo.Abp.Application.Services;
namespace CMS.Plugin.PipeLineLems.Application.Contracts.Services;
///
/// 叫料单表应用服务接口
///
public interface ICallMaterialOrderAppService : ICrudAppService
{
///
/// 克隆叫料单表
///
///
///
Task> CloneAsync(IEnumerable ids);
///
/// 删除叫料单表
///
///
///
Task DeleteManyAsync(IEnumerable ids);
Task FindByWmsTaskNoAsync(string wmsTaskNo);
Task CallMaterialByDataIdentifier(Guid id);
///
/// 调整排序叫料单表
///
///
///
///
Task AdjustSortAsync(Guid id, int sort);
///
/// 导入叫料单表
///
///
///
Task ImportAsync(CallMaterialOrdersImportModel input);
///
/// 导出叫料单表
///
///
///
Task<(Dictionary Sheets, string FileName)> ExportAsync(GetCallMaterialOrderInput input);
///
/// 根据条件获取叫料单表列表
///
///
///
///
Task> GetListByFilterAsync(Expression> whereConditions, CancellationToken cancellationToken = default);
///
/// 根据条件获取单个叫料单表
///
///
/// 是否查询出多条就报错
///
///
///
Task GetSingleByFilterAsync(Expression> whereConditions, bool isMultipleThrowException = false, CancellationToken cancellationToken = default);
}