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.
32 lines
1.1 KiB
32 lines
1.1 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using WTA.Application.Identity.Entities.SystemManagement;
|
|
using WTA.Shared.Application;
|
|
using WTA.Shared.Controllers;
|
|
using WTA.Shared.Data;
|
|
|
|
namespace WTA.Application.Identity.Controllers;
|
|
|
|
public class CodeSettingController : GenericController<CodeSetting, CodeSetting, CodeSetting, CodeSetting, CodeSetting, CodeSetting>
|
|
{
|
|
public CodeSettingController(ILogger<CodeSetting> logger, IRepository<CodeSetting> repository) : base(logger, repository)
|
|
{
|
|
}
|
|
|
|
[Display(Name = "导出Excel")]
|
|
public override IActionResult Export([FromBody] PaginationModel<CodeSetting, CodeSetting> model, bool includeAll = false, bool includeDeleted = false)
|
|
{
|
|
return base.Export(model, includeAll, includeDeleted);
|
|
}
|
|
[Display(Name = "搜索")]
|
|
public override IActionResult Index([FromBody] PaginationModel<CodeSetting, CodeSetting> model)
|
|
{
|
|
return base.Index(model);
|
|
}
|
|
[Display(Name = "新增")]
|
|
public override IActionResult Create([FromBody] CodeSetting model)
|
|
{
|
|
return base.Create(model);
|
|
}
|
|
}
|
|
|