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 BBAC_CAN_SAController : GenericController { public BBAC_CAN_SAController(ILogger logger, IRepository repository) : base(logger, repository) { } [NonAction] public override IActionResult Create([FromBody] BBAC_CAN_SA model) { return base.Create(model); } [NonAction] public override IActionResult Delete([FromBody] Guid[] guids) { return base.Delete(guids); } [NonAction] public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) { return base.Export(model, includeAll, includeDeleted); } [NonAction] public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) { return base.Import(file, partial, replace); } [Multiple, Display(Name = "生成发票数据")] public IActionResult? GenerateInvoice() { return null; } }