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.
47 lines
1.3 KiB
47 lines
1.3 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.Attributes;
|
|
using WTA.Shared.Controllers;
|
|
using WTA.Shared.Data;
|
|
|
|
namespace WTA.Application.Identity.Controllers;
|
|
|
|
public class BBAC_PD_DETAILController : GenericController<BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL>
|
|
{
|
|
public BBAC_PD_DETAILController(ILogger<BBAC_PD_DETAIL> logger, IRepository<BBAC_PD_DETAIL> repository) : base(logger, repository)
|
|
{
|
|
}
|
|
|
|
[NonAction]
|
|
public override IActionResult Create([FromBody] BBAC_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);
|
|
}
|
|
|
|
[HttpPost, Display(Name = "审核通过"), Multiple]
|
|
public IActionResult? ApprovalPassed()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
[HttpPost, Display(Name = "退回"), Multiple]
|
|
public IActionResult? Reject()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|