using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto;
using WMS.Web.Core.Dto.SerialNumbers;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Infrastructure
{
///
/// 序列号
///
public interface ISerialNumbersRepositories
{
///
/// 批量添加
///
///
///
///
Task AddRange(List entitys, bool isTransaction = true);
//根据序列号模糊搜索信息
Task GetSerialNumber(string serialNumber, string orgCode, bool IsOps = false, int serialStatus = 0);
//根据序列号搜索信息
Task Get(string serialNumber);
/// 查询实体集合
Task> GetEntityList(List serialNumbers);
/// 根据箱Id查询集合
Task> GetEntityListByBoxId(int boxId);
/// 根据箱Ids查询集合
Task> GetEntityListByBoxIds(List boxIds);
/// 修改实体集合
Task EditEntityList(List entitys, bool isTransaction = true);
//批量删除
Task DeleteEntityList(List boxIds, bool isTransaction = true);
}
}