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.Attributes; using WTA.Shared.Controllers; using WTA.Shared.Data; namespace WTA.Application.Identity.Controllers; public class HBPO_PD_DETAILController : GenericController { public HBPO_PD_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) { } [NonAction] public override IActionResult Create([FromBody] HBPO_PD_DETAIL model) { return base.Create(model); } [NonAction] public override IActionResult Delete([FromBody] Guid[] guids) { return base.Delete(guids); } [NonAction] public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) { return base.Import(file, partial, replace); } [Display(Name = "审核通过"), Multiple, HttpPost] public IActionResult? ApprovalPassed() { return null; } [Display(Name = "退回"), Multiple, HttpPost] public IActionResult? Reject() { return null; } }