You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
2 years ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using Microsoft.AspNetCore.Http;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
using Microsoft.Extensions.Logging;
|
||
|
using WTA.Application.Identity.Entities.SystemManagement;
|
||
|
using WTA.Shared.Application;
|
||
|
using WTA.Shared.Attributes;
|
||
|
using WTA.Shared.Controllers;
|
||
|
using WTA.Shared.Data;
|
||
|
|
||
|
namespace WTA.Application.Identity.Controllers;
|
||
|
|
||
|
public class INVOICEController : GenericController<INVOICE, INVOICE, INVOICE, INVOICE, INVOICE, INVOICE>
|
||
|
{
|
||
|
public INVOICEController(ILogger<INVOICE> logger, IRepository<INVOICE> repository) : base(logger, repository)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Import(IFormFile importexcelfile)
|
||
|
{
|
||
|
return base.Import(importexcelfile);
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Delete([FromBody] Guid[] guids)
|
||
|
{
|
||
|
return base.Delete(guids);
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Export([FromBody] PaginationModel<INVOICE, INVOICE> model, bool includeAll = false, bool includeDeleted = false)
|
||
|
{
|
||
|
return base.Export(model, includeAll, includeDeleted);
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Create([FromBody] INVOICE model)
|
||
|
{
|
||
|
return base.Create(model);
|
||
|
}
|
||
|
|
||
|
[HttpPost, Display(Name = "导入开票文件"), Multiple]
|
||
|
public IActionResult? INVOICE_UploadExcelImport()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
[HttpPost, Display(Name = "审核发票信息"), Multiple]
|
||
|
public IActionResult? AddBackGroundJob()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
[HttpPost, Display(Name = "同步寄售库至QAD"), Multiple]
|
||
|
public IActionResult? SendWmsQAD()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
}
|