Browse Source

update

pull/1/head^2^2
姜旭之 1 year ago
parent
commit
23e3c45e3e
  1. 48
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_CAN_SAController.cs
  2. 41
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_CAN_SA_DETAILController.cs
  3. 48
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_NOT_SA_DETAILController.cs
  4. 47
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_PD_DETAILController.cs
  5. 4
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs
  6. 1
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs
  7. 1
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs
  8. 34
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_EDIController.cs
  9. 6
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_REPORTController.cs
  10. 57
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_JIT_SE_SA_REPORTController.cs
  11. 25
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SAController.cs
  12. 10
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SA_DETAILController.cs
  13. 45
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_NOT_SA_DETAILController.cs
  14. 50
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_PD_DETAILController.cs
  15. 60
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SAController.cs
  16. 46
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SA_DETAILController.cs
  17. 6
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SE_DETAILController.cs
  18. 10
      docs/demo/src/WTA.Application/Identity/Controllers/BOMController.cs
  19. 34
      docs/demo/src/WTA.Application/Identity/Controllers/CentralizedControlController.cs
  20. 48
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_CAN_SAController.cs
  21. 41
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_CAN_SA_DETAILController.cs
  22. 48
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_NOT_SA_DETAILController.cs
  23. 47
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_PD_DETAILController.cs
  24. 4
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs
  25. 1
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs
  26. 3
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs
  27. 34
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_EDIController.cs
  28. 12
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_REPORTController.cs
  29. 6
      docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_GRPController.cs
  30. 57
      docs/demo/src/WTA.Application/Identity/Controllers/IN_JIT_SE_SA_REPORTController.cs
  31. 25
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SAController.cs
  32. 11
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SA_DETAILController.cs
  33. 45
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_NOT_SA_DETAILController.cs
  34. 50
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_PD_DETAILController.cs
  35. 60
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SAController.cs
  36. 47
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SA_DETAILController.cs
  37. 17
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SE_DETAILController.cs
  38. 57
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_JIT_SE_SA_REPORTController.cs
  39. 25
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SAController.cs
  40. 10
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SA_DETAILController.cs
  41. 45
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_NOT_SA_DETAILController.cs
  42. 50
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_PD_DETAILController.cs
  43. 72
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SAController.cs
  44. 46
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SA_DETAILController.cs
  45. 6
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SE_DETAILController.cs
  46. 10
      docs/demo/src/WTA.Application/Identity/Controllers/MaterialController.cs
  47. 57
      docs/demo/src/WTA.Application/Identity/Controllers/Second_BBAC_SE_SA_REPORTController.cs
  48. 57
      docs/demo/src/WTA.Application/Identity/Controllers/Second_HBPO_SE_SA_REPORTController.cs
  49. 1
      docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs
  50. 57
      docs/demo/src/WTA.Application/Identity/Controllers/Third_BBAC_SE_SA_REPORTController.cs
  51. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs
  52. 2
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs
  53. 2
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs
  54. 2
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs
  55. 2
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs
  56. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs

48
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_CAN_SAController.cs

@ -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;
}
}

41
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_CAN_SA_DETAILController.cs

@ -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);
}
}

48
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_NOT_SA_DETAILController.cs

@ -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;
}
}

47
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_PD_DETAILController.cs

@ -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;
}
}

4
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs

@ -23,9 +23,9 @@ public class BBAC_SAController : GenericController<BBAC_SA, BBAC_SA, BBAC_SA, BB
}
[NonAction]
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
{
return base.Import(importexcelfile);
return base.Import(file);
}
[NonAction]

1
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs

@ -1,4 +1,3 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;

1
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs

@ -32,6 +32,7 @@ public class BBAC_SE_DETAILController : GenericController<BBAC_SE_DETAIL, BBAC_S
{
return base.Create(model);
}
/// <summary>
/// 未确定
/// </summary>

34
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_EDIController.cs

@ -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);
}
}

6
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_REPORTController.cs

@ -51,4 +51,10 @@ public class BBAC_SE_REPORTController : GenericController<BBAC_SE_REPORT, BBAC_S
{
return null;
}
[HttpPost, Display(Name = "下载")]
public IActionResult? DownloadAsync()
{
return null;
}
}

57
docs/demo/src/WTA.Application/Identity/Controllers/BJ_JIT_SE_SA_REPORTController.cs

@ -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
{
}

25
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SAController.cs

@ -1,6 +1,4 @@
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;
@ -32,29 +30,16 @@ public class BJ_PUB_CAN_SAController : BaseController, IResourceService<BJ_PUB_C
return this._genericController.Index(model);
}
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")]
public virtual IActionResult Import()
[HttpPost, Multiple, Display(Name = "生成发票数据")]
public virtual IActionResult? GenerateInvoice()
{
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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
return null;
}
}
[Order(1)]
[BJDataInputGroup]
[Display(Name = "结算数据")]
[BJSettlementInvoicingGroup]
[Display(Name = "可结算单")]
public class BJ_PUB_CAN_SA : IResource
{
}

10
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SA_DETAILController.cs

@ -29,17 +29,11 @@ public class BJ_PUB_CAN_SA_DETAILController : BaseController, IResourceService<B
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Hidden]
[Display(Name = "结算数据")]
[BJDataInputGroup]
[Display(Name = "可结算单明细")]
[BJSettlementInvoicingGroup]
public class BJ_PUB_CAN_SA_DETAIL : IResource
{
}

45
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_NOT_SA_DETAILController.cs

@ -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
{
}

50
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_PD_DETAILController.cs

@ -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
{ }

60
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SAController.cs

@ -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
{
}

46
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SA_DETAILController.cs

@ -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
{
}

6
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SE_DETAILController.cs

@ -36,6 +36,12 @@ public class BJ_PUB_SE_DETAILController : BaseController, IResourceService<BJ_PU
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
[HttpPost, Multiple, Display(Name = "同步")]
public virtual IActionResult? Synchronous()
{
return null;
}
}
[Order(2)]

10
docs/demo/src/WTA.Application/Identity/Controllers/BOMController.cs

@ -1,33 +1,31 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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 BOMController : GenericController<BOM, BOM, BOM, BOM, BOM, BOM>
{
public BOMController(ILogger<BOM> logger, IRepository<BOM> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] BOM 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)
{

34
docs/demo/src/WTA.Application/Identity/Controllers/CentralizedControlController.cs

@ -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);
}
}

48
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_CAN_SAController.cs

@ -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;
}
}

41
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_CAN_SA_DETAILController.cs

@ -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);
}
}

48
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_NOT_SA_DETAILController.cs

@ -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;
}
}

47
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_PD_DETAILController.cs

@ -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;
}
}

4
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs

@ -29,9 +29,9 @@ public class HBPO_SAController : GenericController<HBPO_SA, HBPO_SA, HBPO_SA, HB
}
[NonAction]
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
{
return base.Import(importexcelfile);
return base.Import(file);
}
[NonAction]

1
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs

@ -1,4 +1,3 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;

3
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs

@ -32,11 +32,12 @@ public class HBPO_SE_DETAILController : GenericController<HBPO_SE_DETAIL, HBPO_S
{
return base.Create(model);
}
/// <summary>
/// 未确定
/// </summary>
/// <returns></returns>
[HttpPost,Display(Name ="同步"),Multiple]
[HttpPost, Display(Name = "同步"), Multiple]
public IActionResult? Synchronous()
{
return null;

34
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_EDIController.cs

@ -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);
}
}

12
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_REPORTController.cs

@ -22,12 +22,6 @@ public class HBPO_SE_REPORTController : GenericController<HBPO_SE_REPORT, HBPO_S
return base.Create(model);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<HBPO_SE_REPORT, HBPO_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false)
{
@ -51,4 +45,10 @@ public class HBPO_SE_REPORTController : GenericController<HBPO_SE_REPORT, HBPO_S
{
return null;
}
[HttpPost, Display(Name = "下载")]
public IActionResult? DownloadAsync()
{
return null;
}
}

6
docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_GRPController.cs

@ -57,4 +57,10 @@ public class INVOICE_GRPController : GenericController<INVOICE_GRP, INVOICE_GRP,
{
return null;
}
[HttpPost, Display(Name = "退回"), Multiple]
public IActionResult? Reject()
{
return null;
}
}

57
docs/demo/src/WTA.Application/Identity/Controllers/IN_JIT_SE_SA_REPORTController.cs

@ -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
{
}

25
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SAController.cs

@ -1,6 +1,4 @@
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;
@ -32,29 +30,16 @@ public class IN_PUB_CAN_SAController : BaseController, IResourceService<IN_PUB_C
return this._genericController.Index(model);
}
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")]
public virtual IActionResult Import()
[HttpPost, Multiple, Display(Name = "生成发票数据")]
public virtual IActionResult? GenerateInvoice()
{
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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
return null;
}
}
[Order(1)]
[INDataInputGroup]
[Display(Name = "结算数据")]
[INSettlementInvoicingGroup]
[Display(Name = "可结算单")]
public class IN_PUB_CAN_SA : IResource
{
}

11
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SA_DETAILController.cs

@ -29,16 +29,11 @@ public class IN_PUB_CAN_SA_DETAILController : BaseController, IResourceService<I
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Hidden]
[Display(Name = "结算数据")]
[INDataInputGroup]
[Display(Name = "可结算单明细")]
[INSettlementInvoicingGroup]
[Order(1)]
public class IN_PUB_CAN_SA_DETAIL : IResource
{

45
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_NOT_SA_DETAILController.cs

@ -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
{
}

50
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_PD_DETAILController.cs

@ -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
{ }

60
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SAController.cs

@ -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
{
}

47
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SA_DETAILController.cs

@ -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
{
}

17
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SE_DETAILController.cs

@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DocumentFormat.OpenXml.Wordprocessing;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Mvc;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Application.Identity.Entities.SystemManagement.Group;
@ -15,6 +8,7 @@ using WTA.Shared.Controllers;
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute;
namespace WTA.Application.Identity.Controllers;
[Route("api/{culture=zh}/[controller]/[action]")]
public class IN_PUB_SE_DETAILController : BaseController, IResourceService<IN_PUB_SE_DETAIL>
{
@ -42,12 +36,17 @@ public class IN_PUB_SE_DETAILController : BaseController, IResourceService<IN_PU
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
[HttpPost, Multiple, Display(Name = "同步")]
public virtual IActionResult? Synchronous()
{
return null;
}
}
[Order(2)]
[INDataInputGroup]
[Display(Name = "发运数据")]
public class IN_PUB_SE_DETAIL : IResource
{
}

57
docs/demo/src/WTA.Application/Identity/Controllers/JIT_JIT_SE_SA_REPORTController.cs

@ -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
{
}

25
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SAController.cs

@ -1,6 +1,4 @@
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;
@ -44,28 +42,15 @@ public class JIT_PUB_CAN_SAController : BaseController, IResourceService<JIT_PUB
return this._genericController.Index(model);
}
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")]
public virtual IActionResult Import()
[HttpPost, Multiple, Display(Name = "生成发票数据")]
public virtual IActionResult? GenerateInvoice()
{
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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
return null;
}
}
[Display(Name = "结算数据")]
[JITDataInputGroup]
[Display(Name = "可结算单")]
[JITSettlementInvoicingGroup]
[Order(1)]
public class JIT_PUB_CAN_SA : IResource
{

10
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SA_DETAILController.cs

@ -29,17 +29,11 @@ public class JIT_PUB_CAN_SA_DETAILController : BaseController, IResourceService<
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Hidden]
[Display(Name = "结算数据")]
[JITDataInputGroup]
[Display(Name = "可结算单明细")]
[JITSettlementInvoicingGroup]
public class JIT_PUB_CAN_SA_DETAIL : IResource
{
}

45
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_NOT_SA_DETAILController.cs

@ -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
{
}

50
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_PD_DETAILController.cs

@ -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
{ }

72
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SAController.cs

@ -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
{
}

46
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SA_DETAILController.cs

@ -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
{
}

6
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SE_DETAILController.cs

@ -36,6 +36,12 @@ public class JIT_PUB_SE_DETAILController : BaseController, IResourceService<JIT_
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
[HttpPost, Multiple, Display(Name = "同步")]
public virtual IActionResult? Synchronous()
{
return null;
}
}
[Order(2)]

10
docs/demo/src/WTA.Application/Identity/Controllers/MaterialController.cs

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
@ -12,25 +7,28 @@ using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class MaterialController : GenericController<Material, Material, Material, Material, Material, Material>
{
public MaterialController(ILogger<Material> logger, IRepository<Material> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] Material model)
{
return base.Create(model);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
{
return base.Import(importexcelfile, partial, replace);
}
}

57
docs/demo/src/WTA.Application/Identity/Controllers/Second_BBAC_SE_SA_REPORTController.cs

@ -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
{
}

57
docs/demo/src/WTA.Application/Identity/Controllers/Second_HBPO_SE_SA_REPORTController.cs

@ -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
{
}

1
docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs

@ -17,5 +17,4 @@ public class TB_PRICE_LISTController : GenericController<TB_PRICE_LIST, TB_PRICE
{
return base.Create(model);
}
}

57
docs/demo/src/WTA.Application/Identity/Controllers/Third_BBAC_SE_SA_REPORTController.cs

@ -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
{
}

3
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs

@ -5,7 +5,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISBBACSettlementInvoicingGroup]
[Display(Name = "发票分组号")]
[Display(Name = "可结算单")]
[Order(1)]
//BBAC可结算导入
public class BBAC_CAN_SA : BaseEntity
{

2
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs

@ -1,5 +1,6 @@
using System.ComponentModel.DataAnnotations;
using WTA.Application.Identity.Entities.SystemManagement.Attribute;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
@ -31,6 +32,7 @@ namespace WTA.Application.Identity.Entities.SystemManagement;
// public string RecordCount { get; set; } = null!;
//}
[JISBBACSettlementInvoicingGroup]
[Order(2)]
[Display(Name = "不可结明细")]
//BBAC不可结算导入明细
public class BBAC_NOT_SA_DETAIL : BaseEntity

2
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs

@ -1,10 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Application.Identity.Entities.SystemManagement.Attribute;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISBBACSettlementInvoicingGroup]
[Display(Name = "寄售库库存扣减审批")]
[Order(4)]
//BBAC寄售库库存扣减审批
public class BBAC_PD_DETAIL : BaseEntity
{

2
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs

@ -6,6 +6,7 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPOSettlementInvoicingGroup]
[Display(Name = "可结算单")]
[Order(1)]
//HBPO可结算导入
public class HBPO_CAN_SA : BaseEntity
{
@ -31,6 +32,7 @@ public class HBPO_CAN_SA : BaseEntity
}
[Hidden]
[Display(Name = "HBPO可结算导入明细")]
[Order(2)]
public class HBPO_CAN_SA_DETAIL : BaseEntity
{

2
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs

@ -1,10 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Application.Identity.Entities.SystemManagement.Group;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPOSettlementInvoicingGroup]
[Display(Name = "寄售库库存扣减审批")]
[Order(4)]
//HBPO待扣减实体
public class HBPO_PD_DETAIL : BaseEntity
{

3
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs

@ -4,8 +4,9 @@ using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Display(Name = "HBPO发运数据与结算数据对比实体")]
[Hidden]
[Display(Name = "HBPO发运数据与结算数据对比实体")]
public class HBPO_SE_SA_REPORT : BaseEntity
{
[Display(Name = "LU+ASN单号")]

Loading…
Cancel
Save