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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using DS.Module.Core ;
using DS.WMS.Core.Invoice.Dto ;
using DS.WMS.Core.Invoice.Entity ;
using DS.WMS.Core.Invoice.Interface ;
using Microsoft.AspNetCore.Mvc ;
namespace DS.WMS.FeeApi.Controllers
{
/// <summary>
/// 发票开具API
/// </summary>
public class InvoiceController : ApiController
{
readonly IInvoiceService < Invoice > _service ;
/// <summary>
/// 初始化
/// </summary>
/// <param name="service"></param>
public InvoiceController ( IInvoiceService < Invoice > service )
{
_service = service ;
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
/// <remarks>注意! ! 【申请编号】OtherQueryCondition 属性传入</remarks>
[HttpPost, Route("GetList")]
public async Task < DataResult < List < InvoiceDto > > > ListAsync ( [ FromBody ] PageRequest < string > request )
{
return await _service . GetListAsync ( request ) ;
}
}
}