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.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.WMS.Core.Fee.Dtos;
|
|
|
|
|
using DS.WMS.Core.Invoice.Interface;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自由开票API
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class FreeInvoiceController : ApiController
|
|
|
|
|
{
|
|
|
|
|
readonly IFreeInvoiceService _service;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 初始化
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="service"></param>
|
|
|
|
|
public FreeInvoiceController(IFreeInvoiceService service)
|
|
|
|
|
{
|
|
|
|
|
_service = service;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取待开票的业务列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns>注意!!【费用范围】需通过 OtherQueryCondition 字段传入</returns>
|
|
|
|
|
[HttpPost, Route("GetBizList")]
|
|
|
|
|
public async Task<DataResult<List<BizInvoiceApplication>>> GetBizListAsync(PageRequest<FeeRange?> request)
|
|
|
|
|
{
|
|
|
|
|
return await _service.GetBizListAsync(request);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|