33 lines
943 B
C#
33 lines
943 B
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 出入库回退记录-仓储接口
|
|
/// </summary>
|
|
public interface IBackRecordRepositories
|
|
{
|
|
/// <summary>
|
|
/// 列表-分页
|
|
/// </summary>
|
|
/// <param name="dto"></param>
|
|
/// <param name="companyId"></param>
|
|
/// <returns></returns>
|
|
Task<(List<BackRecordQueryResponse> list, int total)> GetPagedList(BackRecordQueryRequest dto, int companyId);
|
|
|
|
/// <summary>
|
|
/// 新增
|
|
/// </summary>
|
|
/// <param name="entity"></param>
|
|
/// <param name="isTransaction"></param>
|
|
/// <returns></returns>
|
|
Task<BackRecord> Add(BackRecord entity, bool isTransaction = true);
|
|
}
|
|
}
|