using DS.Module.Core; using DS.Module.Core.Data; using DS.WMS.Core.Fee.Dtos; using DS.WMS.Core.Flow.Dtos; using DS.WMS.Core.Invoice.Dtos; using DS.WMS.Core.Invoice.Entity; using DS.WMS.Core.Invoice.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.FeeApi.Controllers { /// /// 进项发票API /// public class InInvoicetController : ApiController { readonly IInInvoiceService _ininvoice; /// /// 初始化 /// /// public InInvoicetController(IInInvoiceService InvoiceService) { _ininvoice = InvoiceService; } /// /// 获取进项发票列表 /// /// /// [HttpPost, Route("GetInInvoicet")] public async Task>> GetInInvoicetList(PageRequest model) { return await _ininvoice.GetInInvoicetList(model); } /// /// 获取进项发票详情 /// /// /// [HttpPost, Route("GetInInvoicetDetail")] public async Task> GetInInvoicetDetailInfo(GetDetailInfoInput model) { return await _ininvoice.GetInInvoicetDetailInfo(model); } } }