Browse Source

la qu

pull/1/head^2^2
姜旭之 1 year ago
parent
commit
0fff5b3d77
  1. 14
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs
  2. 54
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_REPORTController.cs
  3. 60
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SAController.cs
  4. 45
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_SA_DETAILController.cs
  5. 46
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_SE_DETAILController.cs
  6. 22
      docs/demo/src/WTA.Application/Identity/Controllers/BOMController.cs
  7. 10
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs
  8. 54
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_REPORTController.cs
  9. 60
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SAController.cs
  10. 45
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_SA_DETAILController.cs
  11. 53
      docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_SE_DETAILController.cs
  12. 34
      docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs
  13. 72
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SAController.cs
  14. 45
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_SA_DETAILController.cs
  15. 46
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_SE_DETAILController.cs
  16. 34
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs
  17. 20
      docs/demo/src/WTA.Application/Identity/Controllers/PURCHASE_PRICEController.cs
  18. 18
      docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs
  19. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs
  20. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs
  21. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs
  22. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs
  23. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs
  24. 5
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_EDI.cs
  25. 5
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_REPORT.cs
  26. 4
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_SA_REPORT.cs
  27. 33
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs
  28. 0
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/CaiWuShenHeGroup.cs
  29. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs
  30. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_NOT_SA_DETAIL.cs
  31. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs
  32. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs
  33. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs
  34. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_EDI.cs
  35. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_REPORT.cs
  36. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs
  37. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_GRP.cs
  38. 34
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs
  39. 35
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs
  40. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_SA_REPORT.cs
  41. 3
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_CAN_SA.cs
  42. 2
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs
  43. 2
      docs/demo/src/WTA.Shared/Controllers/GenericController.cs

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

@ -3,6 +3,7 @@ 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;
@ -15,9 +16,9 @@ public class BBAC_SE_DETAILController : GenericController<BBAC_SE_DETAIL, BBAC_S
}
[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]
@ -31,4 +32,13 @@ public class BBAC_SE_DETAILController : GenericController<BBAC_SE_DETAIL, BBAC_S
{
return base.Create(model);
}
/// <summary>
/// 未确定
/// </summary>
/// <returns></returns>
[HttpPost, Display(Name = "同步"), Multiple]
public IActionResult? Synchronous()
{
return null;
}
}

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

@ -0,0 +1,54 @@
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_SE_REPORTController : GenericController<BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT>
{
public BBAC_SE_REPORTController(ILogger<BBAC_SE_REPORT> logger, IRepository<BBAC_SE_REPORT> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_SE_REPORT 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_SE_REPORT, BBAC_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
{
return base.Import(file, partial, replace);
}
[NonAction]
public override IActionResult Update([FromBody] BBAC_SE_REPORT model)
{
return base.Update(model);
}
[HttpPost, Display(Name = "生成比对"), Multiple]
public IActionResult? ExportEDIJob()
{
return null;
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_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_CAN_SAController : BaseController, IResourceService<BJ_PUB_CAN_SA>
{
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController;
public BJ_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_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_CAN_SA, PUB_CAN_SA> model)
{
return this._genericController.Index(model);
}
[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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
}
}
[Order(1)]
[BJDataInputGroup]
[Display(Name = "结算数据")]
public class BJ_PUB_CAN_SA : IResource
{
}

45
docs/demo/src/WTA.Application/Identity/Controllers/BJ_PUB_CAN_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_CAN_SA_DETAILController : BaseController, IResourceService<BJ_PUB_CAN_SA_DETAIL>
{
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController;
public BJ_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_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_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model)
{
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]
public class BJ_PUB_CAN_SA_DETAIL : IResource
{
}

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

@ -0,0 +1,46 @@
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;
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute;
namespace WTA.Application.Identity.Controllers;
[Route("api/{culture=zh}/[controller]/[action]")]
public class BJ_PUB_SE_DETAILController : BaseController, IResourceService<BJ_PUB_SE_DETAIL>
{
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController;
public BJ_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_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_SE_DETAIL, PUB_SE_DETAIL> model)
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Order(2)]
[BJDataInputGroup]
[Display(Name = "发运数据")]
public class BJ_PUB_SE_DETAIL : IResource
{
}

22
docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs → docs/demo/src/WTA.Application/Identity/Controllers/BOMController.cs

@ -1,34 +1,36 @@
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 BJ_SE_DETAILController : GenericController<BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL>
public class BOMController : GenericController<BOM, BOM, BOM, BOM, BOM, BOM>
{
public BJ_SE_DETAILController(ILogger<BJ_SE_DETAIL> logger, IRepository<BJ_SE_DETAIL> repository) : base(logger, repository)
public BOMController(ILogger<BOM> logger, IRepository<BOM> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
public override IActionResult Create([FromBody] BOM model)
{
return base.Import(file);
return base.Create(model);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] BJ_SE_DETAIL model)
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
{
return base.Create(model);
return base.Import(file, partial, replace);
}
}

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

@ -3,6 +3,7 @@ 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;
@ -31,4 +32,13 @@ public class HBPO_SE_DETAILController : GenericController<HBPO_SE_DETAIL, HBPO_S
{
return base.Create(model);
}
/// <summary>
/// 未确定
/// </summary>
/// <returns></returns>
[HttpPost,Display(Name ="同步"),Multiple]
public IActionResult? Synchronous()
{
return null;
}
}

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

@ -0,0 +1,54 @@
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_SE_REPORTController : GenericController<HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT>
{
public HBPO_SE_REPORTController(ILogger<HBPO_SE_REPORT> logger, IRepository<HBPO_SE_REPORT> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_SE_REPORT 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_SE_REPORT, HBPO_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
{
return base.Import(file, partial, replace);
}
[NonAction]
public override IActionResult Update([FromBody] HBPO_SE_REPORT model)
{
return base.Update(model);
}
[HttpPost, Display(Name = "生成比对"), Multiple]
public IActionResult? ExportEDIJob()
{
return null;
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_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_CAN_SAController : BaseController, IResourceService<IN_PUB_CAN_SA>
{
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController;
public IN_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_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_CAN_SA, PUB_CAN_SA> model)
{
return this._genericController.Index(model);
}
[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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
}
}
[Order(1)]
[INDataInputGroup]
[Display(Name = "结算数据")]
public class IN_PUB_CAN_SA : IResource
{
}

45
docs/demo/src/WTA.Application/Identity/Controllers/IN_PUB_CAN_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_CAN_SA_DETAILController : BaseController, IResourceService<IN_PUB_CAN_SA_DETAIL>
{
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController;
public IN_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_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_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model)
{
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]
[Order(1)]
public class IN_PUB_CAN_SA_DETAIL : IResource
{
}

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

@ -0,0 +1,53 @@
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;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
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>
{
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController;
public IN_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_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_SE_DETAIL, PUB_SE_DETAIL> model)
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Order(2)]
[INDataInputGroup]
[Display(Name = "发运数据")]
public class IN_PUB_SE_DETAIL : IResource
{
}

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

@ -1,34 +0,0 @@
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 IN_SE_DETAILController : GenericController<IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL>
{
public IN_SE_DETAILController(ILogger<IN_SE_DETAIL> logger, IRepository<IN_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] IN_SE_DETAIL model)
{
return base.Create(model);
}
}

72
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_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_CAN_SAController : BaseController, IResourceService<JIT_PUB_CAN_SA>
{
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController;
public JIT_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_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_CAN_SA, PUB_CAN_SA> model)
{
return this._genericController.Index(model);
}
[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);
}
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")]
public virtual IActionResult Delete([FromBody] Guid[] guids)
{
return this._genericController.Delete(guids);
}
}
[Display(Name = "结算数据")]
[JITDataInputGroup]
[Order(1)]
public class JIT_PUB_CAN_SA : IResource
{
}

45
docs/demo/src/WTA.Application/Identity/Controllers/JIT_PUB_CAN_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_CAN_SA_DETAILController : BaseController, IResourceService<JIT_PUB_CAN_SA_DETAIL>
{
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController;
public JIT_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_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_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model)
{
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]
public class JIT_PUB_CAN_SA_DETAIL : IResource
{
}

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

@ -0,0 +1,46 @@
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;
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute;
namespace WTA.Application.Identity.Controllers;
[Route("api/{culture=zh}/[controller]/[action]")]
public class JIT_PUB_SE_DETAILController : BaseController, IResourceService<JIT_PUB_SE_DETAIL>
{
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController;
public JIT_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_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_SE_DETAIL, PUB_SE_DETAIL> model)
{
return this._genericController.Index(model);
}
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")]
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return this._genericController.Export(model, includeAll, includeDeleted);
}
}
[Order(2)]
[JITDataInputGroup]
[Display(Name = "发运数据")]
public class JIT_PUB_SE_DETAIL : IResource
{
}

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

@ -1,34 +0,0 @@
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 JIT_SE_DETAILController : GenericController<JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL>
{
public JIT_SE_DETAILController(ILogger<JIT_SE_DETAIL> logger, IRepository<JIT_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] JIT_SE_DETAIL model)
{
return base.Create(model);
}
}

20
docs/demo/src/WTA.Application/Identity/Controllers/PURCHASE_PRICEController.cs

@ -0,0 +1,20 @@
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 PURCHASE_PRICEController : GenericController<PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE>
{
public PURCHASE_PRICEController(ILogger<PURCHASE_PRICE> logger, IRepository<PURCHASE_PRICE> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] PURCHASE_PRICE model)
{
return base.Create(model);
}
}

18
docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs

@ -24,16 +24,16 @@ IEntityTypeConfiguration<BBAC_SE_DETAIL>,
//IEntityTypeConfiguration<Class17>,
//IEntityTypeConfiguration<Class18>,
//IEntityTypeConfiguration<JIT_SA>,
IEntityTypeConfiguration<JIT_SE_DETAIL>,
//IEntityTypeConfiguration<JIT_SE_DETAIL>,
//IEntityTypeConfiguration<Class21>,
//IEntityTypeConfiguration<Class22>,
//IEntityTypeConfiguration<Class23>,
IEntityTypeConfiguration<BJ_SE_DETAIL>,
//IEntityTypeConfiguration<BJ_SE_DETAIL>,
//IEntityTypeConfiguration<Class26>,
//IEntityTypeConfiguration<Class27>,
//IEntityTypeConfiguration<Class28>,
//IEntityTypeConfiguration<Class29>,
IEntityTypeConfiguration<IN_SE_DETAIL>,
//IEntityTypeConfiguration<IN_SE_DETAIL>,
//IEntityTypeConfiguration<Class32>,
//IEntityTypeConfiguration<Class33>,
//IEntityTypeConfiguration<Class34>,
@ -160,8 +160,8 @@ IEntityTypeConfiguration<JIT_SE_SA_REPORT>
//public void Configure(EntityTypeBuilder<JIT_SA> builder)
//{ }
public void Configure(EntityTypeBuilder<JIT_SE_DETAIL> builder)
{ }
//public void Configure(EntityTypeBuilder<JIT_SE_DETAIL> builder)
//{ }
//public void Configure(EntityTypeBuilder<Class21> builder)
//{ }
@ -172,8 +172,8 @@ IEntityTypeConfiguration<JIT_SE_SA_REPORT>
//public void Configure(EntityTypeBuilder<Class23> builder)
//{ }
public void Configure(EntityTypeBuilder<BJ_SE_DETAIL> builder)
{ }
//public void Configure(EntityTypeBuilder<BJ_SE_DETAIL> builder)
//{ }
//public void Configure(EntityTypeBuilder<Class26> builder)
//{ }
@ -187,8 +187,8 @@ IEntityTypeConfiguration<JIT_SE_SA_REPORT>
//public void Configure(EntityTypeBuilder<Class29> builder)
//{ }
public void Configure(EntityTypeBuilder<IN_SE_DETAIL> builder)
{ }
//public void Configure(EntityTypeBuilder<IN_SE_DETAIL> builder)
//{ }
//public void Configure(EntityTypeBuilder<Class32> builder)
//{ }

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 = "BBAC可结算导入")]
[Display(Name = "发票分组号")]
//BBAC可结算导入
public class BBAC_CAN_SA : BaseEntity
{
[Display(Name = "期间")]

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

@ -31,7 +31,8 @@ namespace WTA.Application.Identity.Entities.SystemManagement;
// public string RecordCount { get; set; } = null!;
//}
[JISBBACSettlementInvoicingGroup]
[Display(Name = "BBAC不可结算导入明细")]
[Display(Name = "不可结明细")]
//BBAC不可结算导入明细
public class BBAC_NOT_SA_DETAIL : BaseEntity
{
/// <summary>

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

@ -4,7 +4,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISBBACSettlementInvoicingGroup]
[Display(Name = "BBAC待扣减实体")]
[Display(Name = "寄售库库存扣减审批")]
//BBAC寄售库库存扣减审批
public class BBAC_PD_DETAIL : BaseEntity
{
[Display(Name = "LU+ASN单号")]

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

@ -7,7 +7,8 @@ namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[JISBBACDataInputGroup]
[Display(Name = "BBAC结算导入")]
[Display(Name = "JIS结算数据")]
//BBAC结算导入
public class BBAC_SA : BaseEntity
{
[Display(Name = "期间")]

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

@ -7,7 +7,8 @@ namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[JISBBACDataInputGroup]
[Display(Name = "BBAC发运单")]
[Display(Name = "JIS发运数据")]
//BBAC发运单
public class BBAC_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]

5
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_EDI.cs

@ -1,10 +1,13 @@
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;
[JISBBACDataInputGroup]
[Display(Name = "BBAC的EDI数据")]
[Order(3)]
[Display(Name = "EDI数据")]
//BBAC的EDI数据
public class BBAC_SE_EDI : BaseEntity
{
[Display(Name = "LU+生产码")]

5
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_REPORT.cs

@ -1,9 +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;
[Display(Name = "BBAC发运数据和EDI对比实体")]
[Order(1)]
[Display(Name = "EDI与发运数据比对")]
//BBAC发运数据和EDI对比实体
[JISBBACDataComparisonGroup]
public class BBAC_SE_REPORT : BaseEntity
{

4
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_SA_REPORT.cs

@ -1,13 +1,13 @@
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;
[JISBBACDataComparisonGroup]
[Hidden]
[Display(Name = "BBAC发运数据与结算数据对比实体")]
public class BBAC_SE_SA_REPORT : BaseEntity
{
[Display(Name = "LU+ASN单号")]
public string KeyCode { get; set; } = null!;
/// <summary>

33
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs

@ -1,33 +0,0 @@
using System.ComponentModel.DataAnnotations;
using WTA.Application.Identity.Entities.SystemManagement.Group;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[BJDataInputGroup]
[Display(Name = "备件发运数据查询")]
public class BJ_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = ("ASN单号"))]
public string PN { get; set; } = null!;
[Display(Name = ("发货数量"))]
public decimal Qty { get; set; }
[Display(Name = ("订单时间"))]
public DateTime BeginDate { get; set; }
[Display(Name = ("发货时间"))]
public DateTime ShippingDate { get; set; }
[Display(Name = ("Wms发货单号"))]
public string WmsBillNum { get; set; } = null!;
}

0
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs → docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/CaiWuShenHeGroup.cs

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

@ -5,7 +5,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPOSettlementInvoicingGroup]
[Display(Name = "HBPO可结算导入")]
[Display(Name = "可结算单")]
//HBPO可结算导入
public class HBPO_CAN_SA : BaseEntity
{
[Display(Name = "期间")]

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

@ -30,7 +30,8 @@ namespace WTA.Application.Identity.Entities.SystemManagement;
// public string RecordCount { get; set; } = null!;
//}
[JISHBPOSettlementInvoicingGroup]
[Display(Name = "HBPO不可结算导入明细")]
[Display(Name = "不可结算单")]
//HBPO不可结算导入明细
public class HBPO_NOT_SA_DETAIL : BaseEntity
{
/// <summary>

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

@ -4,7 +4,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPOSettlementInvoicingGroup]
[Display(Name = "HBPO待扣减实体")]
[Display(Name = "寄售库库存扣减审批")]
//HBPO待扣减实体
public class HBPO_PD_DETAIL : BaseEntity
{
[Display(Name = "LU+ASN单号")]

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

@ -5,7 +5,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPODataInputGroup]
[Display(Name = "HBPO结算导入")]
[Display(Name = "JIS结算数据")]
//HBPO结算导入
public class HBPO_SA : BaseEntity
{
[Display(Name = "期间")]

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

@ -4,7 +4,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Display(Name = "HBPO发运数据")]
[Display(Name = "JIS发运数据")]
//HBPO发运数据
[JISHBPODataInputGroup]
public class HBPO_SE_DETAIL : BaseEntity
{

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

@ -4,7 +4,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[JISHBPODataInputGroup]
[Display(Name = "HBPO的EDI数据")]
[Display(Name = "EDI数据")]
//HBPO的EDI数据
public class HBPO_SE_EDI : BaseEntity
{
[Display(Name = "LU+生产码")]

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

@ -3,8 +3,9 @@ using WTA.Application.Identity.Entities.SystemManagement.Group;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Display(Name = "HBPO发运数据和EDI对比实体")]
[Display(Name = "EDI与发运数据比对")]
[JISHBPODataComparisonGroup]
//HBPO发运数据和EDI对比实体
public class HBPO_SE_REPORT : BaseEntity
{
[Display(Name = "LU+生产码")]

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

@ -1,10 +1,11 @@
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;
[Display(Name = "HBPO发运数据与结算数据对比实体")]
[JISHBPODataComparisonGroup]
[Hidden]
public class HBPO_SE_SA_REPORT : BaseEntity
{
[Display(Name = "LU+ASN单号")]

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

@ -5,7 +5,8 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[ShangWuShenHeGroup]
[Display(Name = "发票分组")]
[Display(Name = "财务管理审核")]
//发票分组
public class INVOICE_GRP : BaseEntity
{
[Display(Name = "实际纸质发票号")]

34
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs

@ -1,34 +0,0 @@
using System.ComponentModel.DataAnnotations;
using WTA.Application.Identity.Entities.SystemManagement.Group;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[INDataInputGroup]
[Display(Name = "印度件发运数据查询")]
public class IN_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "交付识别号")]
public string PN { get; set; } = null!;
[Display(Name = "发货数量")]
public decimal Qty { get; set; }
[Display(Name = "开始时间")]
public DateTime BeginDate { get; set; }
[Display(Name = "发货时间")]
public DateTime ShippingDate { get; set; }
[Display(Name = "WMS发货单号")]
public string WmsBillNum { get; set; } = null!;
}

35
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs

@ -1,35 +0,0 @@
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;
[JITDataInputGroup]
[Display(Name = "JIT发运数据查询")]
public class JIT_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = ("ASN单号"))]
public string PN { get; set; } = null!;
[Display(Name = ("发货数量"))]
public decimal Qty { get; set; }
[Display(Name = ("订单时间"))]
public DateTime BeginDate { get; set; }
[Display(Name = ("发货时间"))]
public DateTime ShippingDate { get; set; }
[Display(Name = ("Wms发货单号"))]
public string WmsBillNum { get; set; } = null!;
}

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

@ -1,9 +1,10 @@
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;
[JITDataComparisonGroup]
[Hidden]
[Display(Name = "JIT发运数据与结算数据对比实体")]
public class JIT_SE_SA_REPORT : BaseEntity
{

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

@ -32,8 +32,9 @@ public class PUB_CAN_SA : BaseEntity
[Display(Name = "明细记录行数")]
public string InvGroupNum { get; set; } = null!;
}
[Display(Name = "PUB可结算导入明细")]
[Hidden]
[Display(Name = "PUB可结算导入明细")]
public class PUB_CAN_SA_DETAIL : BaseEntity
{
[Display(Name = "LU+ASN单号")]

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

@ -5,7 +5,7 @@ using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(11)]
[Display(Name = "备件价格")]
[Display(Name = "备件价格")]
[SystemManagement]
public class TB_PRICE_BJ : BaseEntity
{

2
docs/demo/src/WTA.Shared/Controllers/GenericController.cs

@ -99,7 +99,7 @@ public class GenericController<TEntity, TModel, TListModel, TSearchModel, TImpor
}
[HttpGet]
public IActionResult Create()
public IActionResult Create(PaginationModel<TSearchModel, TListModel> model)
{
return Json(new
{

Loading…
Cancel
Save