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.
 
 
 
 
 
 

60 lines
1.6 KiB

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 IN_DNController : GenericController<IN_DN, IN_DN, IN_DN, IN_DN, IN_DN, IN_DN>
{
public IN_DNController(ILogger<IN_DN> logger, IRepository<IN_DN> 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<IN_DN, IN_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] IN_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}