姜旭之
1 year ago
56 changed files with 1515 additions and 121 deletions
@ -0,0 +1,48 @@ |
|||
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<BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA> |
|||
{ |
|||
public BBAC_CAN_SAController(ILogger<BBAC_CAN_SA> logger, IRepository<BBAC_CAN_SA> 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<BBAC_CAN_SA, BBAC_CAN_SA> 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; |
|||
} |
|||
} |
@ -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 BBAC_CAN_SA_DETAILController : GenericController<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL> |
|||
{ |
|||
public BBAC_CAN_SA_DETAILController(ILogger<BBAC_CAN_SA_DETAIL> logger, IRepository<BBAC_CAN_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_CAN_SA_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<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_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); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
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_NOT_SA_DETAILController : GenericController<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL> |
|||
{ |
|||
public BBAC_NOT_SA_DETAILController(ILogger<BBAC_NOT_SA_DETAIL> logger, IRepository<BBAC_NOT_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_NOT_SA_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<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_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); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成可结算单")] |
|||
public IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,47 @@ |
|||
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; |
|||
} |
|||
} |
@ -0,0 +1,34 @@ |
|||
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.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_SE_EDIController : GenericController<BBAC_SE_EDI, BBAC_SE_EDI, BBAC_SE_EDI, BBAC_SE_EDI, BBAC_SE_EDI, BBAC_SE_EDI> |
|||
{ |
|||
public BBAC_SE_EDIController(ILogger<BBAC_SE_EDI> logger, IRepository<BBAC_SE_EDI> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_SE_EDI 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); |
|||
} |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_JIT_SE_SA_REPORTController : BaseController, IResourceService<BJ_JIT_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
|||
|
|||
public BJ_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "发运与结算二次比对")] |
|||
[BJDataComparisonGroup] |
|||
public class BJ_JIT_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,45 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_NOT_SA_DETAILController : BaseController, IResourceService<BJ_PUB_NOT_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
|||
public virtual IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "不可结算单")] |
|||
[BJSettlementInvoicingGroup] |
|||
public class BJ_PUB_NOT_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,50 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_PD_DETAILController : BaseController, IResourceService<BJ_PUB_PD_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "审核通过")] |
|||
public virtual IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(4)] |
|||
[Display(Name = "寄售库库存扣减审批")] |
|||
[BJSettlementInvoicingGroup] |
|||
public class BJ_PUB_PD_DETAIL : IResource |
|||
{ } |
@ -0,0 +1,60 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Authorization; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_SAController : BaseController, IResourceService<BJ_PUB_SA> |
|||
{ |
|||
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
|||
|
|||
public BJ_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import() |
|||
{ |
|||
return this._genericController.Import(); |
|||
} |
|||
|
|||
[Consumes("multipart/form-data")] |
|||
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return this._genericController.Import(file, partial, replace); |
|||
} |
|||
} |
|||
|
|||
[Order(1)] |
|||
[BJDataInputGroup] |
|||
[Display(Name = "结算数据")] |
|||
public class BJ_PUB_SA : IResource |
|||
{ |
|||
} |
@ -0,0 +1,46 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using DocumentFormat.OpenXml.Wordprocessing; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_SA_DETAILController : BaseController, IResourceService<BJ_PUB_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
} |
|||
|
|||
[Hidden] |
|||
[Display(Name = "结算数据明细")] |
|||
[BJDataInputGroup] |
|||
public class BJ_PUB_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,34 @@ |
|||
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.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class CentralizedControlController : GenericController<CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl> |
|||
{ |
|||
public CentralizedControlController(ILogger<CentralizedControl> logger, IRepository<CentralizedControl> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[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] CentralizedControl model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
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 HBPO_CAN_SAController : GenericController<HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA> |
|||
{ |
|||
public HBPO_CAN_SAController(ILogger<HBPO_CAN_SA> logger, IRepository<HBPO_CAN_SA> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_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<HBPO_CAN_SA, HBPO_CAN_SA> 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; |
|||
} |
|||
} |
@ -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 HBPO_CAN_SA_DETAILController : GenericController<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL> |
|||
{ |
|||
public HBPO_CAN_SA_DETAILController(ILogger<HBPO_CAN_SA_DETAIL> logger, IRepository<HBPO_CAN_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_CAN_SA_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<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_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); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
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 HBPO_NOT_SA_DETAILController : GenericController<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL> |
|||
{ |
|||
public HBPO_NOT_SA_DETAILController(ILogger<HBPO_NOT_SA_DETAIL> logger, IRepository<HBPO_NOT_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_NOT_SA_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<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_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); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成可结算单")] |
|||
public IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,47 @@ |
|||
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<HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL> |
|||
{ |
|||
public HBPO_PD_DETAILController(ILogger<HBPO_PD_DETAIL> logger, IRepository<HBPO_PD_DETAIL> 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; |
|||
} |
|||
} |
@ -0,0 +1,34 @@ |
|||
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.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class HBPO_SE_EDIController : GenericController<HBPO_SE_EDI, HBPO_SE_EDI, HBPO_SE_EDI, HBPO_SE_EDI, HBPO_SE_EDI, HBPO_SE_EDI> |
|||
{ |
|||
public HBPO_SE_EDIController(ILogger<HBPO_SE_EDI> logger, IRepository<HBPO_SE_EDI> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_SE_EDI 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); |
|||
} |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class IN_JIT_SE_SA_REPORTController : BaseController, IResourceService<IN_JIT_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
|||
|
|||
public IN_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "发运与结算二次比对")] |
|||
[INDataComparisonGroup] |
|||
public class IN_JIT_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,45 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class IN_PUB_NOT_SA_DETAILController : BaseController, IResourceService<IN_PUB_NOT_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
|||
|
|||
public IN_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
|||
public virtual IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "不可结算单")] |
|||
[INSettlementInvoicingGroup] |
|||
public class IN_PUB_NOT_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,50 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class IN_PUB_PD_DETAILController : BaseController, IResourceService<IN_PUB_PD_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
|||
|
|||
public IN_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "审核通过")] |
|||
public virtual IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(4)] |
|||
[Display(Name = "寄售库库存扣减审批")] |
|||
[INSettlementInvoicingGroup] |
|||
public class IN_PUB_PD_DETAIL : IResource |
|||
{ } |
@ -0,0 +1,60 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Authorization; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class IN_PUB_SAController : BaseController, IResourceService<IN_PUB_SA> |
|||
{ |
|||
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
|||
|
|||
public IN_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import() |
|||
{ |
|||
return this._genericController.Import(); |
|||
} |
|||
|
|||
[Consumes("multipart/form-data")] |
|||
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return this._genericController.Import(file, partial, replace); |
|||
} |
|||
} |
|||
|
|||
[Order(1)] |
|||
[INDataInputGroup] |
|||
[Display(Name = "结算数据")] |
|||
public class IN_PUB_SA : IResource |
|||
{ |
|||
} |
@ -0,0 +1,47 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using DocumentFormat.OpenXml.Wordprocessing; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class IN_PUB_SA_DETAILController : BaseController, IResourceService<IN_PUB_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
|||
|
|||
public IN_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
} |
|||
|
|||
[Hidden] |
|||
[Display(Name = "可结算单明细")] |
|||
[INDataInputGroup] |
|||
[Order(1)] |
|||
public class IN_PUB_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class JIT_JIT_SE_SA_REPORTController : BaseController, IResourceService<JIT_JIT_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
|||
|
|||
public JIT_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "发运与结算二次比对")] |
|||
[JITDataComparisonGroup] |
|||
public class JIT_JIT_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,45 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class JIT_PUB_NOT_SA_DETAILController : BaseController, IResourceService<JIT_PUB_NOT_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
|||
|
|||
public JIT_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
|||
public virtual IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "不可结算单")] |
|||
[JITSettlementInvoicingGroup] |
|||
public class JIT_PUB_NOT_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,50 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class JIT_PUB_PD_DETAILController : BaseController, IResourceService<JIT_PUB_PD_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
|||
|
|||
public JIT_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "审核通过")] |
|||
public virtual IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(4)] |
|||
[Display(Name = "寄售库库存扣减审批")] |
|||
[JITSettlementInvoicingGroup] |
|||
public class JIT_PUB_PD_DETAIL : IResource |
|||
{ } |
@ -0,0 +1,72 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Authorization; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class JIT_PUB_SAController : BaseController, IResourceService<JIT_PUB_SA> |
|||
{ |
|||
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
|||
|
|||
public JIT_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
//[NonAction]
|
|||
//public override IActionResult Create([FromBody] PUB_CAN_SA model)
|
|||
//{
|
|||
// return base.Create(model);
|
|||
//}
|
|||
|
|||
//[NonAction]
|
|||
//public override IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model, bool includeAll = false, bool includeDeleted = false)
|
|||
//{
|
|||
// return base.Export(model, includeAll, includeDeleted);
|
|||
//}
|
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import() |
|||
{ |
|||
return this._genericController.Import(); |
|||
} |
|||
|
|||
[Consumes("multipart/form-data")] |
|||
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return this._genericController.Import(file, partial, replace); |
|||
} |
|||
} |
|||
|
|||
[Display(Name = "结算数据")] |
|||
[JITDataInputGroup] |
|||
[Order(1)] |
|||
public class JIT_PUB_SA : IResource |
|||
{ |
|||
} |
@ -0,0 +1,46 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using DocumentFormat.OpenXml.Wordprocessing; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class JIT_PUB_SA_DETAILController : BaseController, IResourceService<JIT_PUB_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
|||
|
|||
public JIT_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
} |
|||
|
|||
[Hidden] |
|||
[Display(Name = "结算数据明细明细")] |
|||
[JITDataInputGroup] |
|||
public class JIT_PUB_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Attribute; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class Second_BBAC_SE_SA_REPORTController : BaseController, IResourceService<Second_BBAC_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> _genericController; |
|||
|
|||
public Second_BBAC_SE_SA_REPORTController(GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(3)] |
|||
[JISBBACDataComparisonGroup] |
|||
[Display(Name = "发运与结算数据二次比对")] |
|||
public class Second_BBAC_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class Second_HBPO_SE_SA_REPORTController : BaseController, IResourceService<Second_HBPO_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> _genericController; |
|||
|
|||
public Second_HBPO_SE_SA_REPORTController(GenericController<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(3)] |
|||
[JISHBPODataComparisonGroup] |
|||
[Display(Name = "发运与结算数据二次比对")] |
|||
public class Second_HBPO_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Attribute; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class Third_BBAC_SE_SA_REPORTController : BaseController, IResourceService<Third_BBAC_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> _genericController; |
|||
|
|||
public Third_BBAC_SE_SA_REPORTController(GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Display(Name = "买单件发运与结算数据三次比对")] |
|||
[Order(4)] |
|||
[JISBBACDataComparisonGroup] |
|||
public class Third_BBAC_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
Loading…
Reference in new issue