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.
 
 
 
 
 
 

55 lines
1.4 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_SAController : GenericController<IN_SA, IN_SA, IN_SA, IN_SA, IN_SA, IN_SA>
{
public IN_SAController(ILogger<IN_SA> logger, IRepository<IN_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<IN_SA, IN_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] IN_SA model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}