You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Application.Dtos;
namespace DS.WMS.Core.Invoice.Interface
{
/// <summary>
/// 标准开票
/// </summary>
public interface IGeneralInvoiceService : IInvoiceService<Entity.Invoice>
{
/// <summary>
/// 获取发票申请分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<InvoiceApplicationDto>>> GetApplicationListAsync(PageRequest request);
/// <summary>
/// 获取发票申请明细
/// </summary>
/// <param name="ids">申请单ID</param>
/// <returns></returns>
Task<DataResult<List<InvoiceApplicationDetailDto>>> GetApplicationDetailsAsync(params long[] ids);
/// <summary>
/// 更新发票申请的状态
/// </summary>
/// <param name="deleteOption">删除选项;仅在删除时指定</param>
/// <param name="invoiceNumbers">发票号</param>
/// <returns></returns>
Task RefreshApplicationStatus(IEnumerable<string> invoiceNumbers, DeleteOption? deleteOption = null);
}
}