using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto;
using WMS.Web.Core.Internal.Results;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Infrastructure
{
///
/// 出入库回退记录-仓储接口
///
public interface IBackRecordRepositories
{
///
/// 列表-分页
///
///
///
///
Task<(List list, int total)> GetPagedList(BackRecordQueryRequest dto, int companyId);
///
/// 新增
///
///
///
///
Task Add(BackRecord entity, bool isTransaction = true);
//修改
Task Edit(BackRecord entity, bool isTransaction = true);
//获取
Task GetEntity(int id);
}
}