22 lines
673 B
C#
22 lines
673 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WMS.Web.Core.Dto;
|
|
using WMS.Web.Core.Dto.ChangeBoxRecord;
|
|
using WMS.Web.Domain.Entitys;
|
|
|
|
namespace WMS.Web.Domain.Infrastructure
|
|
{
|
|
public interface IChangeBoxRecordRepositories
|
|
{
|
|
// 新增
|
|
Task<ChangeBoxRecord> Add(ChangeBoxRecord entity, bool isTransaction = true);
|
|
// 批量新增
|
|
Task<bool> AddRange(List<ChangeBoxRecord> list, bool isTransaction = true);
|
|
|
|
// 获取列表
|
|
Task<(List<ChangeBoxRecordQueryInfoResponse> list,int total)> GetListAsync(ChangeBoxRecordQueryRequest dto, int companyId = 0);
|
|
}
|
|
}
|