using CmsQueryExtensions.Extension;
using System.Linq.Expressions;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Specifications;
namespace CMS.Plugin.HIAWms.Domain.WmsMaterial;
///
/// WmsMaterial仓储
///
public interface IWmsMaterialRepository : IBasicRepository
{
///
/// Finds the by name asynchronous.
///
/// The name.
/// The cancellation token.
///
Task FindByNameAsync(string name, CancellationToken cancellationToken = default);
///
/// Names the exist asynchronous.
///
/// The name.
/// The identifier.
///
Task NameExistAsync(string name, Guid? id = null);
///
/// Gets the maximum sort asynchronous.
///
///
Task GetMaxSortAsync();
///
/// 获取分页列表
///
///
///
///
///
///
///
///
Task> GetListAsync(FunReturnResultModel>> whereConditions, string sorting = null, int maxResultCount = int.MaxValue, int skipCount = 0, bool includeDetails = false, CancellationToken cancellationToken = default);
///
/// 获取总数
///
///
///
///
Task GetCountAsync(FunReturnResultModel>> whereConditions, CancellationToken cancellationToken = default);
}