姜旭之
1 year ago
24 changed files with 244 additions and 89 deletions
@ -0,0 +1,41 @@ |
|||||
|
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.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class INVOICE_MAP_GROUPController : GenericController<INVOICE_MAP_GROUP, INVOICE_MAP_GROUP, INVOICE_MAP_GROUP, INVOICE_MAP_GROUP, INVOICE_MAP_GROUP, INVOICE_MAP_GROUP> |
||||
|
{ |
||||
|
public INVOICE_MAP_GROUPController(ILogger<INVOICE_MAP_GROUP> logger, IRepository<INVOICE_MAP_GROUP> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] INVOICE_MAP_GROUP 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); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<INVOICE_MAP_GROUP, INVOICE_MAP_GROUP> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
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.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class INVOICE_NOT_SETTLEController : GenericController<INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE> |
||||
|
{ |
||||
|
public INVOICE_NOT_SETTLEController(ILogger<INVOICE_NOT_SETTLE> logger, IRepository<INVOICE_NOT_SETTLE> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<INVOICE_NOT_SETTLE, INVOICE_NOT_SETTLE> 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); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] INVOICE_NOT_SETTLE model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
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.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class INVOICE_WAIT_DETAILController : GenericController<INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL> |
||||
|
{ |
||||
|
public INVOICE_WAIT_DETAILController(ILogger<INVOICE_WAIT_DETAIL> logger, IRepository<INVOICE_WAIT_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] INVOICE_WAIT_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<INVOICE_WAIT_DETAIL, INVOICE_WAIT_DETAIL> 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); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue