using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BarCode.Web.Domain.Entitys;
namespace BarCode.Web.Domain.Infrastructure
{
///
/// 物料仓储接口
///
public interface IMaterialsRepositories
{
///
/// 物料添加
///
///
///
///
Task AddRange(List entitys, bool isTransaction = true);
///
/// 列表
///
///
Task> GetEntityList(int? orgId = null);
///
/// 列表
///
///
///
Task> GetEntityListAddMaterial(List materNumbers);
///
/// 物料
///
///
///
Task Get(int mid);
///
/// 物料
///
///
///
///
Task Get(string code, int orgId);
///
///
///
///
Task> GetAllNumbers();
///
/// 列表
///
///
///
///
Task> GetEntityList(List materNumbers, bool isBatchManage);
///
/// 列表(获取所有没有id32进制的物料)
///
///
Task> GetEntityListByNoBar();
///
/// 跟据规格获取物料
///
///
Task> GetEntityListByGuiGe(List materGuiGes, DateTime dt);
///
/// 修改物料
///
///
///
///
Task UpdateRange(List entitys, bool isTransaction = true);
///
/// 集合
///
///
///
Task> GetEntityList(List materNumbers);
}
}