diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs deleted file mode 100644 index 8aa828cf..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs +++ /dev/null @@ -1,60 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class BBAC_DNController : GenericController -{ - public BBAC_DNController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] BBAC_DN model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "审核出库单"), Multiple] - public IActionResult? OutboundAuditAsync() - { - return null; - } - - [HttpPost, Display(Name = "生成待开票报表"), Multiple] - public IActionResult? AddBackGroundJob() - { - return null; - } - - [HttpPost, Display(Name = "撤销出库审核"), Multiple] - public IActionResult? RevokeReviewAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs deleted file mode 100644 index 2f4d8e6a..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs +++ /dev/null @@ -1,35 +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.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class BBAC_DN_DETAILController : GenericController -{ - public BBAC_DN_DETAILController(ILogger logger, IRepository 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 Create([FromBody] BBAC_DN_DETAIL model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "取消出库单"), Multiple] - public IActionResult? CancelOutbound() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs index 3357372c..bfa84454 100644 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs @@ -1,4 +1,4 @@ -using System.ComponentModel.DataAnnotations; + using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using WTA.Application.Identity.Entities.SystemManagement; diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs deleted file mode 100644 index 836c4b27..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs +++ /dev/null @@ -1,60 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class BJ_DNController : GenericController -{ - public BJ_DNController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] BJ_DN model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "审核出库单"), Multiple] - public IActionResult? OutboundAuditAsync() - { - return null; - } - - [HttpPost, Display(Name = "生成待开票报表"), Multiple] - public IActionResult? AddBackGroundJob() - { - return null; - } - - [HttpPost, Display(Name = "撤销出库审核"), Multiple] - public IActionResult? RevokeReviewAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs deleted file mode 100644 index 1b2b0682..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs +++ /dev/null @@ -1,35 +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.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class BJ_DN_DETAILController : GenericController -{ - public BJ_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [NonAction] - public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false) - { - return base.Import(importexcelfile); - } - - [HttpPost, Display(Name = "取消出库单"), Multiple] - public IActionResult? CancelOutbound() - { - return null; - } - - [NonAction] - public override IActionResult Create([FromBody] BJ_DN_DETAIL model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs deleted file mode 100644 index 3bff1fc9..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs +++ /dev/null @@ -1,54 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class BJ_SAController : GenericController -{ - public BJ_SAController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [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); - } - - [NonAction] - public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] BJ_SA model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "下载")] - public IActionResult? Download()//download - { - return null; - } - - [HttpPost, Display(Name = "生成出库单"), Multiple] - public IActionResult? CreateOutOrdersAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs deleted file mode 100644 index 7491966f..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.ComponentModel.DataAnnotations; -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 BJ_SA_DETAILController : GenericController -{ - public BJ_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [NonAction] - public override IActionResult Create([FromBody] BJ_SA_DETAIL model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs index 78125e13..de404d21 100644 --- a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs @@ -15,9 +15,9 @@ public class BJ_SE_DETAILController : GenericController -{ - public HBPO_DNController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] HBPO_DN model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "审核出库单"), Multiple] - public IActionResult? OutboundAuditAsync() - { - return null; - } - - [HttpPost, Display(Name = "生成待开票报表"), Multiple] - public IActionResult? AddBackGroundJob() - { - return null; - } - - [HttpPost, Display(Name = "撤销出库审核"), Multiple] - public IActionResult? RevokeReviewAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs deleted file mode 100644 index fcd0bb3f..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs +++ /dev/null @@ -1,35 +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.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class HBPO_DN_DETAILController : GenericController -{ - public HBPO_DN_DETAILController(ILogger logger, IRepository 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 Create([FromBody] HBPO_DN_DETAIL model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "取消出库单"), Multiple] - public IActionResult? CancelOutbound() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs deleted file mode 100644 index 17da7bad..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs +++ /dev/null @@ -1,41 +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.Application; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class INVOICE_DETAILController : GenericController -{ - public INVOICE_DETAILController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] INVOICE_DETAIL model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_GRPController.cs similarity index 67% rename from docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs rename to docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_GRPController.cs index a3d9447e..b7c64527 100644 --- a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs +++ b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_GRPController.cs @@ -10,16 +10,16 @@ using WTA.Shared.Data; namespace WTA.Application.Identity.Controllers; -public class INVOICEController : GenericController +public class INVOICE_GRPController : GenericController { - public INVOICEController(ILogger logger, IRepository repository) : base(logger, repository) + public INVOICE_GRPController(ILogger logger, IRepository repository) : base(logger, repository) { } [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] @@ -29,13 +29,13 @@ public class INVOICEController : GenericController model, bool includeAll = false, bool includeDeleted = false) + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) { return base.Export(model, includeAll, includeDeleted); } [NonAction] - public override IActionResult Create([FromBody] INVOICE model) + public override IActionResult Create([FromBody] INVOICE_GRP model) { return base.Create(model); } diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs deleted file mode 100644 index 71fbff76..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs +++ /dev/null @@ -1,60 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class IN_DNController : GenericController -{ - public IN_DNController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] IN_DN model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "审核出库单"), Multiple] - public IActionResult? OutboundAuditAsync() - { - return null; - } - - [HttpPost, Display(Name = "生成待开票报表"), Multiple] - public IActionResult? AddBackGroundJob() - { - return null; - } - - [HttpPost, Display(Name = "撤销出库审核"), Multiple] - public IActionResult? RevokeReviewAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs deleted file mode 100644 index a3d41746..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs +++ /dev/null @@ -1,35 +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.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class IN_DN_DETAILController : GenericController -{ - public IN_DN_DETAILController(ILogger logger, IRepository 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 Create([FromBody] IN_DN_DETAIL model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "取消出库单"), Multiple] - public IActionResult? CancelOutbound() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs deleted file mode 100644 index 51370924..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs +++ /dev/null @@ -1,55 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class IN_SAController : GenericController -{ - public IN_SAController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [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); - } - - [NonAction] - public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] IN_SA model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "下载")] - public IActionResult? Download()//download - { - return null; - } - - [HttpPost, Display(Name = "生成出库单"), Multiple] - public IActionResult? CreateOutOrdersAsync() - { - return null; - } - -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs deleted file mode 100644 index 54c6f179..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.ComponentModel.DataAnnotations; -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_SA_DETAILController : GenericController -{ - public IN_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [NonAction] - public override IActionResult Create([FromBody] IN_SA_DETAIL model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs deleted file mode 100644 index 8378e470..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs +++ /dev/null @@ -1,60 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class JIT_DNController : GenericController -{ - public JIT_DNController(ILogger logger, IRepository 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 Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] JIT_DN model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "审核出库单"), Multiple] - public IActionResult? OutboundAuditAsync() - { - return null; - } - - [HttpPost, Display(Name = "生成待开票报表"), Multiple] - public IActionResult? AddBackGroundJob() - { - return null; - } - - [HttpPost, Display(Name = "撤销出库审核"), Multiple] - public IActionResult? RevokeReviewAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs deleted file mode 100644 index 9896474b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs +++ /dev/null @@ -1,35 +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.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class JIT_DN_DETAILController : GenericController -{ - public JIT_DN_DETAILController(ILogger logger, IRepository 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 Create([FromBody] JIT_DN_DETAIL model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "取消出库单"), Multiple] - public IActionResult? CancelOutbound() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs deleted file mode 100644 index f83c72a1..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs +++ /dev/null @@ -1,54 +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.Application; -using WTA.Shared.Attributes; -using WTA.Shared.Controllers; -using WTA.Shared.Data; - -namespace WTA.Application.Identity.Controllers; - -public class JIT_SAController : GenericController -{ - public JIT_SAController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [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); - } - - [NonAction] - public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) - { - return base.Export(model, includeAll, includeDeleted); - } - - [NonAction] - public override IActionResult Create([FromBody] JIT_SA model) - { - return base.Create(model); - } - - [HttpPost, Display(Name = "下载")] - public IActionResult? Download()//download - { - return null; - } - - [HttpPost, Display(Name = "生成出库单"), Multiple] - public IActionResult? CreateOutOrdersAsync() - { - return null; - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs deleted file mode 100644 index 29264102..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.ComponentModel.DataAnnotations; -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_SA_DETAILController : GenericController -{ - public JIT_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - - [NonAction] - public override IActionResult Create([FromBody] JIT_SA_DETAIL model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/MaterialController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/MaterialController.cs new file mode 100644 index 00000000..d140e75c --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/MaterialController.cs @@ -0,0 +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.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; +public class MaterialController : GenericController +{ + public MaterialController(ILogger logger, IRepository 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); + } + +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/MaterialRelationshipController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/MaterialRelationshipController.cs new file mode 100644 index 00000000..638d19ae --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/MaterialRelationshipController.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 MaterialRelationshipController : GenericController +{ + public MaterialRelationshipController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] MaterialRelationship 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); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs index 08347484..529d7fc7 100644 --- a/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs +++ b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs @@ -1,4 +1,3 @@ -using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using WTA.Application.Identity.Entities.SystemManagement; diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs deleted file mode 100644 index e5551c12..00000000 --- a/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.ComponentModel.DataAnnotations; -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 TB_ReAssemblyRelationshipController : GenericController -{ - public TB_ReAssemblyRelationshipController(ILogger logger, IRepository repository) : base(logger, repository) - { - } - [NonAction] - public override IActionResult Create([FromBody] TB_ReAssemblyRelationship model) - { - return base.Create(model); - } -} diff --git a/docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs b/docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs index e429265a..368eb7c5 100644 --- a/docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs +++ b/docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs @@ -6,89 +6,126 @@ using WTA.Shared.Data; namespace WTA.Application.Identity.Data.Config; public class BaseDataDbConfig : IDbConfig, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, IEntityTypeConfiguration, IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +//IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration { - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } public void Configure(EntityTypeBuilder builder) { } @@ -102,145 +139,244 @@ IEntityTypeConfiguration public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) - { } + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + //public void Configure(EntityTypeBuilder builder) + //{ } + + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } - public void Configure(EntityTypeBuilder builder) + public void Configure(EntityTypeBuilder builder) { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } } diff --git a/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs b/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs index 5309fc32..ccb9f8a4 100644 --- a/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs +++ b/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs @@ -123,48 +123,32 @@ public class IdentityDbSeed : IDbSeed { context.Set().Add(new HBPO_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); context.Set().Add(new HBPO_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new HBPO_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new HBPO_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); + context.Set().Add(new HBPO_SA_DETAIL { InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); + context.Set().Add(new HBPO_SA_DETAIL { InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); context.Set().Add(new BBAC_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); context.Set().Add(new BBAC_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new BBAC_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); - context.Set().Add(new BBAC_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); - context.Set().Add(new JIT_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new JIT_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new JIT_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new JIT_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new BJ_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new BJ_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); - context.Set().Add(new BJ_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new BJ_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new IN_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据" }); - context.Set().Add(new IN_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据" }); - context.Set().Add(new IN_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new IN_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); - context.Set().Add(new HBPO_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); - context.Set().Add(new HBPO_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" }); - context.Set().Add(new HBPO_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" }); - context.Set().Add(new HBPO_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" }); - context.Set().Add(new BBAC_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); - context.Set().Add(new BBAC_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" }); - context.Set().Add(new BBAC_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" }); - context.Set().Add(new BBAC_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" }); - context.Set().Add(new JIT_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); - context.Set().Add(new JIT_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" }); - context.Set().Add(new JIT_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" }); - context.Set().Add(new JIT_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" }); - context.Set().Add(new BJ_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); - context.Set().Add(new BJ_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" }); - context.Set().Add(new BJ_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" }); - context.Set().Add(new BJ_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" }); - context.Set().Add(new IN_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); - context.Set().Add(new IN_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" }); - context.Set().Add(new IN_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" }); - context.Set().Add(new IN_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" }); - context.Set().Add(new INVOICE { RealnvBillNum = "测试数据", InvbillNum = "123", INVGroupNum = "测试数据", FileName = "测试数据", BusinessType = "测试数据" }); - context.Set().Add(new INVOICE { RealnvBillNum = "测试数据", InvbillNum = "456", INVGroupNum = "测试数据", FileName = "测试数据", BusinessType = "测试数据" }); - context.Set().Add(new INVOICE_DETAIL { LU = "测试数据", InvbillNum = "123" }); - context.Set().Add(new INVOICE_DETAIL { LU = "测试数据", InvbillNum = "456" }); + context.Set().Add(new BBAC_SA_DETAIL { InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); + context.Set().Add(new BBAC_SA_DETAIL { InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); + context.Set().Add(new HBPO_CAN_SA { SettleBillNum = "测试数据", Version = "测试数据", BillNum = "123", State = "测试数据", InvGroupNum = "测试数据" }); + context.Set().Add(new HBPO_CAN_SA { SettleBillNum = "测试数据", Version = "测试数据", BillNum = "456", State = "测试数据", InvGroupNum = "测试数据" }); + context.Set().Add(new HBPO_CAN_SA_DETAIL { SettleBillNum = "测试数据", InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); + context.Set().Add(new HBPO_CAN_SA_DETAIL { SettleBillNum = "测试数据", InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); + context.Set().Add(new BBAC_CAN_SA { SettleBillNum = "测试数据", Version = "测试数据", BillNum = "123", State = "测试数据", InvGroupNum = "测试数据" }); + context.Set().Add(new BBAC_CAN_SA { SettleBillNum = "测试数据", Version = "测试数据", BillNum = "456", State = "测试数据", InvGroupNum = "测试数据" }); + context.Set().Add(new BBAC_CAN_SA_DETAIL { SettleBillNum = "测试数据", InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); + context.Set().Add(new BBAC_CAN_SA_DETAIL { SettleBillNum = "测试数据", InvGroupNum = "测试数据", KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); + context.Set().Add(new INVOICE_GRP { RealnvBillNum = "测试数据", InvbillNum = "123", InvGroupNum = "分组号测试数据一", FileName = "测试数据", BusinessType = "测试数据" }); + context.Set().Add(new INVOICE_GRP { RealnvBillNum = "测试数据", InvbillNum = "456", InvGroupNum = "分组号测试数据二", FileName = "测试数据", BusinessType = "测试数据" }); + context.Set().Add(new INVOICE_WAIT_DETAIL { InvbillNum = "待开票明细123", InvGroupNum = "待开票明细分组号测试数据一", Version = "测试数据", LU = "测试数据", BussiessType = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据", Extend3 = "测试数据", Extend4 = "测试数据" }); + context.Set().Add(new INVOICE_WAIT_DETAIL { InvbillNum = "待开票明细456", InvGroupNum = "待开票明细分组号测试数据二", Version = "测试数据", LU = "测试数据", BussiessType = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据", Extend3 = "测试数据", Extend4 = "测试数据" }); + context.Set().Add(new INVOICE_MAP_GROUP { InvbillNum = "发票和结算分组对应关系123", InvGroupNum = "发票和结算分组对应关系分组号测试数据一", Version = "测试数据", SettleGroupNum = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据" }); + context.Set().Add(new INVOICE_MAP_GROUP { InvbillNum = "发票和结算分组对应关系456", InvGroupNum = "发票和结算分组对应关系分组号测试数据二", Version = "测试数据", SettleGroupNum = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据" }); + context.Set().Add(new INVOICE_NOT_SETTLE { InvGroupNum = "分组号测试数据一", Version = "测试数据", SettleGroupNum = "测试数据", LU = "测试数据", LU1 = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据" }); + context.Set().Add(new INVOICE_NOT_SETTLE { InvGroupNum = "分组号测试数据二", Version = "测试数据", SettleGroupNum = "测试数据", LU = "测试数据", LU1 = "测试数据", Extend1 = "测试数据", Extend2 = "测试数据" }); + context.Set().Add(new PUB_SA { Version = "测试数据", BillNum = "一号", State = "测试数据" }); + context.Set().Add(new PUB_SA { Version = "测试数据", BillNum = "二号", State = "测试数据" }); + context.Set().Add(new PUB_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "一号", LU = "测试数据", PN = "测试数据", Site = "测试数据", InvGroupNum = "测试数据", SettleDate = new DateTime(), Extend1 = "测试数据", Extend2 = "测试数据", Extend3 = "测试数据", GroupNum = "测试数据" }); + context.Set().Add(new PUB_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "二号", LU = "测试数据", PN = "测试数据", Site = "测试数据", InvGroupNum = "测试数据", SettleDate = new DateTime(), Extend1 = "测试数据", Extend2 = "测试数据", Extend3 = "测试数据", GroupNum = "测试数据" }); } private static void InitDictionaries(DbContext context) diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs new file mode 100644 index 00000000..eb7c5e3e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_CAN_SA.cs @@ -0,0 +1,112 @@ +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 = "BBAC可结算导入")] +public class BBAC_CAN_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据")] + [OneToMany] + public string BillNum { get; set; } = null!; + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + /// + /// 明细记录行数 + /// + [Display(Name = "明细记录行数")] + public string InvGroupNum { get; set; } = null!; +} + +[Hidden] +[Display(Name = "BBAC可结算导入明细")] +public class BBAC_CAN_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(Material+ExternalCalNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; + /// + /// 对应字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 选择工厂导入 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Quantity + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间对应地点带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件 + /// + [Display(Name = "业务类别")] + public string Category { get; set; } = null!; + + /// + /// 对应字段MovementType,996正常,997为退货 + /// + [Display(Name = "是否退货")] + public string IsReturn { get; set; } = null!; + + /// + /// 对应字段PostingDate + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段Reference + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs new file mode 100644 index 00000000..1f88e4ab --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_NOT_SA_DETAIL.cs @@ -0,0 +1,111 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Attribute; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +//[Display(Name = "BBAC不可结算导入")] +// +//public class BBAC_NOT_SA : BaseEntity +//{ +// [Display(Name = "期间")] +// public string Version { get; set; } = null!; + +// [Display(Name = "结算单据")] +// [OneToMany] +// public string BillNum { get; set; } = null!; + +// [Display(Name = "出库单号")] +// public string DNBillNum { get; set; } = null!; + +// /// +// /// 1、新建 2、已有出库3、已有扣减寄售库 +// /// +// [Display(Name = "状态")] +// public string State { get; set; } = null!; + +// /// +// /// 明细记录行数 +// /// +// [Display(Name = "明细记录行数")] +// public string RecordCount { get; set; } = null!; +//} +[JISBBACSettlementInvoicingGroup] +[Display(Name = "BBAC不可结算导入明细")] +public class BBAC_NOT_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(Material+ExternalCalNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string SettleBillNum { get; set; } = null!; + + /// + /// 对应字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 选择工厂导入 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Quantity + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间对应地点带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件 + /// + [Display(Name = "业务类别")] + public string Category { get; set; } = null!; + + /// + /// 对应字段MovementType,996正常,997为退货 + /// + [Display(Name = "是否退货")] + public string IsReturn { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + /// + /// 对应字段PostingDate + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段Reference + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs new file mode 100644 index 00000000..6c631cce --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_PD_DETAIL.cs @@ -0,0 +1,48 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Attribute; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JISBBACSettlementInvoicingGroup] +[Display(Name = "BBAC待扣减实体")] +public class BBAC_PD_DETAIL : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "替换零件号")] + public string RELU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "替换生产号")] + public string REPN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs index 0d6794e7..d2604ada 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs @@ -1,11 +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; [Order(2)] -[JISDataInput] +[JISBBACDataInputGroup] [Display(Name = "BBAC结算导入")] public class BBAC_SA : BaseEntity { @@ -34,7 +35,7 @@ public class BBAC_SA : BaseEntity } [Display(Name = "BBAC结算导入明细")] -[JISDataInput] + [Hidden] public class BBAC_SA_DETAIL : BaseEntity { @@ -109,4 +110,7 @@ public class BBAC_SA_DETAIL : BaseEntity /// [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs index 1dcb437f..ea3a68f0 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs @@ -1,12 +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; [Order(4)] -[JISDataInput] -[Display(Name = "BBAC发运数据")] +[JISBBACDataInputGroup] +[Display(Name = "BBAC发运单")] public class BBAC_SE_DETAIL : BaseEntity { [Display(Name = "LU+生产码")] @@ -33,9 +34,6 @@ public class BBAC_SE_DETAIL : BaseEntity [Display(Name = "发货数量")] public decimal Qty { get; set; } - [Display(Name = "EDI数量")] - public decimal EDIQty { get; set; } - [Display(Name = "订单时间")] public DateTime BeginDate { get; set; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_EDI.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_EDI.cs new file mode 100644 index 00000000..ae51bfce --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_EDI.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Attribute; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JISBBACDataInputGroup] +[Display(Name = "BBAC的EDI数据")] +public class BBAC_SE_EDI : 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!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "EDI数量")] + public decimal Qty { get; set; } + + [Display(Name = "订货时间")] + public DateTime BeginDate { get; set; } +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_REPORT.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_REPORT.cs new file mode 100644 index 00000000..11543f38 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_REPORT.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Attribute; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Display(Name = "BBAC发运数据和EDI对比实体")] +[JISBBACDataComparisonGroup] +public class BBAC_SE_REPORT : 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 string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { 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!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_SA_REPORT.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_SA_REPORT.cs new file mode 100644 index 00000000..d986e3f1 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_SA_REPORT.cs @@ -0,0 +1,64 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Attribute; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JISBBACDataComparisonGroup] +[Display(Name = "BBAC发运数据与结算数据对比实体")] +public class BBAC_SE_SA_REPORT : BaseEntity +{ + + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + /// + /// 有结算无发货(无EDI数据) + ///有结算无发货(有EDI数据) + ///有结算有发货(无EDI数据) + ///有结算有发货(无价格信息) + ///有结算有发货(有EDI数据) + ///无结算有发货(有EDI数据) + ///无结算有发货(无EDI数据) + ///有结算有发货(有EDI数据) + ///有结算有发货(WMS多发) + /// + [Display(Name = "类别")] + public string Category { get; set; } = null!; + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + [Display(Name = "PJIS日顺序号")] + public string PJISSeqNumber { get; set; } = null!; + [Display(Name = "物料号")] + public string MaterialNumber { get; set; } = null!; + [Display(Name = "物料描述")] + public string MaterialDes { get; set; } = null!; + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + /// + /// 结算数据中的过账日期 + /// + [Display(Name = "客户下线时间")] + public DateTime CustomerOfflineTime { get; set; } + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + [Display(Name = "结算数量")] + public decimal SEQty { get; set; } + [Display(Name = "发货数量")] + public decimal WMSQty { get; set; } + [Display(Name = "EDI数量")] + public decimal EDIQty { get; set; } + [Display(Name = "匹配类型")] + public string MateType { get; set; } = null!; + [Display(Name = "定价")] + public decimal FixPrice { get; set; } + [Display(Name = "期间")] + public string Version { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs deleted file mode 100644 index 74b69e1f..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[ChuKuDanGroup] -[Display(Name = "备件出库单")] -public class BJ_DN : BaseEntity -{ - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - /// - /// 如 J2023060212 - /// - [Display(Name = "出库单号")] - [OneToMany] - public string DNBillNum { get; set; } = null!; - - /// - /// 定时统计记录数量 - /// - [Display(Name = "各种状态统计显示")] - public string StockCount { get; set; } = null!; - -} -[Display(Name = "备件出库单明细")] -[ChuKuDanGroup] -[Hidden] -public class BJ_DN_DETAIL : BaseEntity -{ - [Display(Name = "LU+交付识别号")] - public string KeyCode { get; set; } = null!; - - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - - [Display(Name = "零件号")] - public string LU { get; set; } = null!; - - [Display(Name = "交付识别号")] - public string PN { get; set; } = null!; - - [Display(Name = "工厂地点")] - public string Site { get; set; } = null!; - - /// - /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 - /// - [Display(Name = "状态")] - public string State { get; set; } = null!; - - [Display(Name = "结算数量")] - public decimal Qty { get; set; } - - [Display(Name = "单价")] - public decimal Price { get; set; } - - [Display(Name = "结算日期(收货日期)")] - public DateTime SettleDate { get; set; } - - [Display(Name = "结算分组")] - public string GroupNum { get; set; } = null!; -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs index b3283866..192ac34e 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs @@ -1,11 +1,9 @@ using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; +using WTA.Application.Identity.Entities.SystemManagement.Group; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[BeiJianDataInput] +[BJDataInputGroup] [Display(Name = "备件发运数据查询")] public class BJ_SE_DETAIL : BaseEntity { @@ -17,14 +15,19 @@ public class BJ_SE_DETAIL : BaseEntity [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 ShppingDate { get; set; } + public DateTime ShippingDate { get; set; } + [Display(Name = ("Wms发货单号"))] public string WmsBillNum { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BOM.cs similarity index 64% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BOM.cs index 7b153e2b..dac3f358 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BOM.cs @@ -4,9 +4,9 @@ using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; -[Order(1)] -[Edi] -[Display(Name = "EDI和HBPO核对")] -public class Class7 : BaseEntity +[SystemManagement] +[Display(Name = "BOM结构")] +[Order(9)] +public class BOM : BaseEntity { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs deleted file mode 100644 index 4c39b87a..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class BeiJianDataInputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs deleted file mode 100644 index 65efc9d4..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class BeiJianDataOutputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs deleted file mode 100644 index 8b78114f..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Module; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[Display(Name = "备件业务")] -public class BeiJianModule : BaseModule -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CentralizedControl.cs similarity index 83% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CentralizedControl.cs index 1d3ab1d5..305f9654 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CentralizedControl.cs @@ -7,6 +7,6 @@ namespace WTA.Application.Identity.Entities.SystemManagement; [Order(11)] [SystemManagement] [Display(Name = "期间设置")] -public class Class5 : BaseEntity +public class CentralizedControl : BaseEntity { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs deleted file mode 100644 index ca2ecb30..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(6)] -[Display(Name = "出库单")] -public class ChuKuDanGroup : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs deleted file mode 100644 index f26a66db..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[JISDataOutput] -[Display(Name = "HBPO结算核对明细输出")] -public class Class13 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs deleted file mode 100644 index ebb7ad9e..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[JISDataOutput] -[Display(Name = "BBAC结算核对明细输出")] -public class Class14 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs deleted file mode 100644 index ca2676ed..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[JISDataOutput] -[Display(Name = "HBPO无法出库明细与汇总输出")] -public class Class15 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs deleted file mode 100644 index 0ecbdd03..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[JISDataOutput] -[Display(Name = "BBAC无法出库明细与汇总输出")] -public class Class16 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs deleted file mode 100644 index b0a1927b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(5)] -[JISDataOutput] -[Display(Name = "HBPO结算发货明细与汇总")] -public class Class17 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs deleted file mode 100644 index c36c1625..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(6)] -[JISDataOutput] -[Display(Name = "BBAC结算发货明细与汇总")] -public class Class18 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs deleted file mode 100644 index fccff5b5..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[JITDataOutput] -[Display(Name = "JIT件结算核对明细输出")] -public class Class21 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs deleted file mode 100644 index 11969c26..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[JITDataOutput] -[Display(Name = "JIT件寄售库不能出库明细与汇总")] -public class Class22 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs deleted file mode 100644 index 40a01eb0..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[JITDataOutput] -[Display(Name = "JIT件结算发货明细与汇总")] -public class Class23 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs deleted file mode 100644 index e778b928..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[BeiJianDataOutput] -[Display(Name = "备件结算核对明细输出")] -public class Class26 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs deleted file mode 100644 index d5ee78af..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[BeiJianDataOutput] -[Display(Name = "备件寄售库不能出库明细与汇总输出")] -public class Class27 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs deleted file mode 100644 index 33c9b503..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[BeiJianDataOutput] -[Display(Name = "备件有结算有发货明细与汇总输出")] -public class Class28 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs deleted file mode 100644 index 010c15fa..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[BeiJianDataOutput] -[Display(Name = "备件有结算无发货明细与汇总输出")] -public class Class29 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs deleted file mode 100644 index e8a18399..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[MaiDanJianDataOutput] -[Display(Name = "印度件结算核对明细输出")] -public class Class32 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs deleted file mode 100644 index f83a3241..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[MaiDanJianDataOutput] -[Display(Name = "印度件寄售库不能出库明细与汇总输出")] -public class Class33 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs deleted file mode 100644 index 2efe4c5b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[MaiDanJianDataOutput] -[Display(Name = "印度件有结算有发货明细与汇总输出")] -public class Class34 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs deleted file mode 100644 index d0d3f7f5..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[MaiDanJianDataOutput] -[Display(Name = "印度件有结算无发货明细与汇总输出")] -public class Class35 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs deleted file mode 100644 index 6d9b9bc8..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(6)] -[ChuKuDanGroup] -[Display(Name = "不能出库记录出库业务")] -public class Class41 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs deleted file mode 100644 index b137a329..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[ShangWuShenHeGroup] -[Display(Name = "BBAC-JIS商务待开票")] -public class Class43 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs deleted file mode 100644 index 88c6c1ac..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[ShangWuShenHeGroup] -[Display(Name = "JIT件商务发票待开票")] -public class Class44 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs deleted file mode 100644 index b39edcba..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(4)] -[ShangWuShenHeGroup] -[Display(Name = "备件商务发票待开票")] -public class Class45 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs deleted file mode 100644 index 37b32c51..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(5)] -[ShangWuShenHeGroup] -[Display(Name = "印度件商务发票待开票")] -public class Class46 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs deleted file mode 100644 index 785c3dac..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[CaiWuShenHeGroup] -[Display(Name = " BBAC-JIS财务管理审核")] -public class Class47 : BaseEntity -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs deleted file mode 100644 index 74e9f29b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Display(Name = "EDI业务")] -public class EdiAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataComparisonGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataComparisonGroup.cs new file mode 100644 index 00000000..d0b522fc --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataComparisonGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(2)] +[Display(Name = "数据对比")] +[Module] +public class BJDataComparisonGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataInputGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataInputGroup.cs new file mode 100644 index 00000000..98ef4aa1 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJDataInputGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(1)] +[Display(Name = "数据输入")] +[Module] +public class BJDataInputGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJSettlementInvoicingGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJSettlementInvoicingGroup.cs new file mode 100644 index 00000000..800ede79 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/BJSettlementInvoicingGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(3)] +[Display(Name = "结算开票")] +[Module] +public class BJSettlementInvoicingGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataComparisonGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataComparisonGroup.cs new file mode 100644 index 00000000..2de4950e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataComparisonGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(2)] +[Display(Name = "数据对比")] +[Module] +public class INDataComparisonGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataInputGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataInputGroup.cs new file mode 100644 index 00000000..076bb099 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INDataInputGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(1)] +[Display(Name = "数据输入")] +[Module] +public class INDataInputGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INSettlementInvoicingGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INSettlementInvoicingGroup.cs new file mode 100644 index 00000000..b46f36c3 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/INSettlementInvoicingGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(3)] +[Display(Name = "结算开票")] +[Module] +public class INSettlementInvoicingGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataComparisonGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataComparisonGroup.cs new file mode 100644 index 00000000..ef8a8405 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataComparisonGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Attribute; + +[Order(2)] +[Module] +[Display(Name = "数据对比")] +public class JISBBACDataComparisonGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataInputGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataInputGroup.cs new file mode 100644 index 00000000..8a2ca1ba --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACDataInputGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Attribute; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class JISBBACDataInputGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACSettlementInvoicingGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACSettlementInvoicingGroup.cs new file mode 100644 index 00000000..904fe18f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISBBACSettlementInvoicingGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Attribute; + +[Order(3)] +[Module] +[Display(Name = "结算开票")] +public class JISBBACSettlementInvoicingGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataComparisonGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataComparisonGroup.cs new file mode 100644 index 00000000..ca45f531 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataComparisonGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(2)] +[Module] +[Display(Name = "数据对比")] +public class JISHBPODataComparisonGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataInputGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataInputGroup.cs new file mode 100644 index 00000000..4c3b1b0b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPODataInputGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class JISHBPODataInputGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPOSettlementInvoicingGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPOSettlementInvoicingGroup.cs new file mode 100644 index 00000000..0e792f66 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JISHBPOSettlementInvoicingGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(3)] +[Module] +[Display(Name = "结算开票")] +public class JISHBPOSettlementInvoicingGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataComparisonGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataComparisonGroup.cs new file mode 100644 index 00000000..aed0074a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataComparisonGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(2)] +[Module] +[Display(Name = "数据对比")] +public class JITDataComparisonGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataInputGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataInputGroup.cs new file mode 100644 index 00000000..faa1ea62 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITDataInputGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class JITDataInputGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITSettlementInvoicingGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITSettlementInvoicingGroup.cs new file mode 100644 index 00000000..eeb54af3 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Group/JITSettlementInvoicingGroup.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Module; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement.Group; + +[Order(3)] +[Module] +[Display(Name = "结算开票")] +public class JITSettlementInvoicingGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs similarity index 62% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs index 832174d7..0e6820b9 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_CAN_SA.cs @@ -1,24 +1,21 @@ 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; - -[Order(1)] -[BeiJianDataInput] -[Display(Name = "备件结算导入")] -public class BJ_SA : BaseEntity +[JISHBPOSettlementInvoicingGroup] +[Display(Name = "HBPO可结算导入")] +public class HBPO_CAN_SA : BaseEntity { [Display(Name = "期间")] public string Version { get; set; } = null!; - - [Display(Name = "结算单据号")] - [OneToMany] + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; + [Display(Name = "结算单据")] + [OneToMany] public string BillNum { get; set; } = null!; - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - /// /// 1、新建 2、已有出库3、已有扣减寄售库 /// @@ -29,21 +26,21 @@ public class BJ_SA : BaseEntity /// 明细记录行数 /// [Display(Name = "明细记录行数")] - public string RecordCount { get; set; } = null!; + public string InvGroupNum { get; set; } = null!; } -[Display(Name = "备件结算导入明细")] -[BeiJianDataInput] [Hidden] -public class BJ_SA_DETAIL : BaseEntity +[Display(Name = "HBPO可结算导入明细")] + +public class HBPO_CAN_SA_DETAIL : BaseEntity { /// - /// 对应字段(零件号+交付识别号) + /// 对应字段(PartNumber+ProductioNumber) /// - [Display(Name = "LU+交付识别号")] + [Display(Name = "LU+生产码")] public string KeyCode { get; set; } = null!; /// - /// 期间号 + /// 期间 /// [Display(Name = "期间")] public string Version { get; set; } = null!; @@ -53,46 +50,50 @@ public class BJ_SA_DETAIL : BaseEntity /// [Display(Name = "结算单号")] public string BillNum { get; set; } = null!; - + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; /// - /// 对应字段【零件号】 + /// 对应字段PartNumber /// [Display(Name = "零件号")] public string LU { get; set; } = null!; /// - /// 对应字段【交付识别号】 + /// 对应字段productionlumber /// - [Display(Name = "交付识别号")] + [Display(Name = "生产码")] public string PN { get; set; } = null!; /// - /// 无 + /// 对应字段filename 区分 cn1、cn5 /// [Display(Name = "工厂地点")] public string Site { get; set; } = null!; /// - /// 对应字段【数量】 + /// 对应字段Qty /// [Display(Name = "结算数量")] public decimal Qty { get; set; } /// - /// 从备件价格单里取 + /// 匹配价格表对应区间带出 /// [Display(Name = "单价")] public decimal Price { get; set; } /// - /// 无 + /// 对应字段ReceiveDate /// [Display(Name = "结算日期(收货日期)")] public DateTime SettleDate { get; set; } /// - /// 对应字段【凭证号】 + /// 对应字段DeliveryNode /// [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs deleted file mode 100644 index 75818f30..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[ChuKuDanGroup] -[Display(Name = "HBPO-JIS出库单")] -public class HBPO_DN : BaseEntity -{ - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - /// - /// 如 H2023060212 - /// - [Display(Name = "出库单号")] - [OneToMany] - public string DNBillNum { get; set; } = null!; - - /// - /// 定时统计记录数量 - /// - [Display(Name = "出库记状态统计")] - public string StockCount { get; set; } = null!; -} - -[Display(Name = "HBPO出库单明细")] -[ChuKuDanGroup] -[Hidden] -public class HBPO_DN_DETAIL : BaseEntity -{ - [Display(Name = "LU+生产码")] - public string KeyCode { get; set; } = null!; - - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - [Display(Name = "结算单号")] - public string BillNum { get; set; } = null!; - - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - - [Display(Name = "零件号")] - public string LU { get; set; } = null!; - - [Display(Name = "生产码")] - public string PN { get; set; } = null!; - - /// - /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息 - /// - [Display(Name = "状态")] - public string State { get; set; } = null!; - - [Display(Name = "工厂地点")] - public string Site { get; set; } = null!; - - [Display(Name = "发货数量")] - public decimal Qty { get; set; } - - [Display(Name = "单价")] - public decimal Price { get; set; } - - [Display(Name = "结算日期(收货日期)")] - public DateTime SettleDate { get; set; } - - [Display(Name = "结算分组")] - public string GroupNum { get; set; } = null!; -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_NOT_SA_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_NOT_SA_DETAIL.cs new file mode 100644 index 00000000..a964c085 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_NOT_SA_DETAIL.cs @@ -0,0 +1,95 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +// +//[Display(Name = "HBPO不可结算导入")] +//public class HBPO_NOT_SA: BaseEntity +//{ +// [Display(Name = "期间")] +// public string Version { get; set; } = null!; + +// [Display(Name = "结算单据")] +// [OneToMany] +// public string BillNum { get; set; } = null!; + +// [Display(Name = "出库单号")] +// public string DNBillNum { get; set; } = null!; + +// /// +// /// 1、新建 2、已有出库3、已有扣减寄售库 +// /// +// [Display(Name = "状态")] +// public string State { get; set; } = null!; + +// /// +// /// 明细记录行数 +// /// +// [Display(Name = "明细记录行数")] +// public string RecordCount { get; set; } = null!; +//} +[JISHBPOSettlementInvoicingGroup] +[Display(Name = "HBPO不可结算导入明细")] +public class HBPO_NOT_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(PartNumber+ProductioNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string SettleBillNum { get; set; } = null!; + + /// + /// 对应字段PartNumber + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段productionlumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 对应字段filename 区分 cn1、cn5 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Qty + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 对应字段ReceiveDate + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段DeliveryNode + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs new file mode 100644 index 00000000..1cdabdc7 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_PD_DETAIL.cs @@ -0,0 +1,46 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JISHBPOSettlementInvoicingGroup] +[Display(Name = "HBPO待扣减实体")] +public class HBPO_PD_DETAIL : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "替换零件号")] + public string RELU { get; set; } = null!; + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "替换生产号")] + public string REPN { get; set; } = null!; + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs index cb1bf997..72667cf7 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs @@ -1,11 +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; - -[Order(1)] -[JISDataInput] +[JISHBPODataInputGroup] [Display(Name = "HBPO结算导入")] public class HBPO_SA : BaseEntity { @@ -30,14 +29,15 @@ public class HBPO_SA : BaseEntity /// [Display(Name = "明细记录行数")] public string RecordCount { get; set; } = null!; - //集合导航 + } + [Display(Name = "HBPO结算导入明细")] -[JISDataInput] + [Hidden] public class HBPO_SA_DETAIL : BaseEntity - + { /// /// 对应字段(PartNumber+ProductioNumber) @@ -99,4 +99,6 @@ public class HBPO_SA_DETAIL : BaseEntity [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs index 825f9a26..9c3db4c4 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs @@ -1,9 +1,11 @@ using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; + [Display(Name = "HBPO发运数据")] -[JISDataInput] +[JISHBPODataInputGroup] public class HBPO_SE_DETAIL : BaseEntity { [Display(Name = "LU+生产码")] @@ -30,9 +32,6 @@ public class HBPO_SE_DETAIL : BaseEntity [Display(Name = "发货数量")] public decimal Qty { get; set; } - [Display(Name = "EDI数量")] - public decimal EDIQty { get; set; } - [Display(Name = "订单时间")] public DateTime BeginDate { get; set; } @@ -41,5 +40,4 @@ public class HBPO_SE_DETAIL : BaseEntity [Display(Name = "Wms发货单号")] public string WmsBillNum { get; set; } = null!; - } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_EDI.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_EDI.cs new file mode 100644 index 00000000..2d7143c6 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_EDI.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JISHBPODataInputGroup] +[Display(Name = "HBPO的EDI数据")] +public class HBPO_SE_EDI : 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!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "EDI数量")] + public decimal Qty { get; set; } + + [Display(Name = "订货时间")] + public DateTime BeginDate { get; set; } +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_REPORT.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_REPORT.cs new file mode 100644 index 00000000..6f35e706 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_REPORT.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Display(Name = "HBPO发运数据和EDI对比实体")] +[JISHBPODataComparisonGroup] +public class HBPO_SE_REPORT : 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 string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { 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!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs new file mode 100644 index 00000000..91066058 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_SA_REPORT.cs @@ -0,0 +1,80 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Display(Name = "HBPO发运数据与结算数据对比实体")] +[JISHBPODataComparisonGroup] +public class HBPO_SE_SA_REPORT : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + /// + /// 有结算无发货(无EDI数据) + ///有结算无发货(有EDI数据) + ///有结算有发货(无EDI数据) + ///有结算有发货(无价格信息) + ///有结算有发货(有EDI数据) + ///无结算有发货(有EDI数据) + ///无结算有发货(无EDI数据) + ///有结算有发货(有EDI数据) + ///有结算有发货(WMS多发) + /// + [Display(Name = "类别")] + public string Category { get; set; } = null!; + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "PJIS日顺序号")] + public string PJISSeqNumber { get; set; } = null!; + + [Display(Name = "物料号")] + public string MaterialNumber { get; set; } = null!; + + [Display(Name = "物料描述")] + public string MaterialDes { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 结算数据中的过账日期 + /// + [Display(Name = "客户下线时间")] + public DateTime CustomerOfflineTime { get; set; } + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal SEQty { get; set; } + + [Display(Name = "发货数量")] + public decimal WMSQty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { get; set; } + + [Display(Name = "匹配类型")] + public string MateType { get; set; } = null!; + + [Display(Name = "定价")] + public decimal FixPrice { get; set; } + + [Display(Name = "期间")] + public string Version { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs deleted file mode 100644 index e5bcf554..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[ShangWuShenHeGroup] -[Display(Name = "财务管理审核主表")] -public class INVOICE : BaseEntity -{ - [Display(Name = "实际纸质发票号")] - public string RealnvBillNum { get; set; } = null!; - - [Display(Name = "系统生成发票号")] - [OneToMany] - public string InvbillNum { get; set; } = null!; - - [Display(Name = "未税金额")] - public decimal Amt { get; set; } - - [Display(Name = "税后金额")] - public decimal TaxAmt { get; set; } - - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - - [Display(Name = "开票Excel文件")] - public string FileName { get; set; } = null!; - - /// - /// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件 - /// - [Display(Name = "业务类别")] - public string BusinessType { get; set; } = null!; - -} - -[ShangWuShenHeGroup] -[Hidden] -[Display(Name = "财务管理审核明细")] -public class INVOICE_DETAIL : BaseEntity -{ - [Display(Name = "零件号")] - public string LU { get; set; } = null!; - - [Display(Name = "单价")] - public decimal PRICE { get; set; } - - [Display(Name = "数量")] - public decimal Qty { get; set; } - - [Display(Name = "金额")] - public decimal Amt { get; set; } - [Display(Name = "系统生成发票号")] - public string InvbillNum { get; set; } = null!; -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_GRP.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_GRP.cs new file mode 100644 index 00000000..faac7b91 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_GRP.cs @@ -0,0 +1,96 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[ShangWuShenHeGroup] +[Display(Name = "发票分组")] +public class INVOICE_GRP : BaseEntity +{ + [Display(Name = "实际纸质发票号")] + public string RealnvBillNum { get; set; } = null!; + [OneToMany] + [OneToMany] + [Display(Name = "系统生成发票号")] + public string InvbillNum { get; set; } = null!; + + [Display(Name = "未税金额")] + public decimal Amt { get; set; } + + [Display(Name = "税后金额")] + public decimal TaxAmt { get; set; } + [OneToMany] + [OneToMany] + [OneToOne] + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "开票Excel文件")] + public string FileName { get; set; } = null!; + + /// + /// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件 + /// + [Display(Name = "业务类别")] + public string BusinessType { get; set; } = null!; +} + +//[ShangWuShenHeGroup] +//[Hidden] +//[Display(Name = "财务管理审核明细")] +//public class INVOICE_DETAIL : BaseEntity +//{ +// [Display(Name = "零件号")] +// public string LU { get; set; } = null!; + +// [Display(Name = "单价")] +// public decimal PRICE { get; set; } + +// [Display(Name = "数量")] +// public decimal Qty { get; set; } + +// [Display(Name = "金额")] +// public decimal Amt { get; set; } + +// [Display(Name = "发票号")] +// public string InvbillNum { get; set; } = null!; +// [Display(Name = "发票分组号")] +// public string InvGroupNum { get; set; } = null!; +//[ShangWuShenHeGroup] +//[Display(Name = "待开票明细")] +//public class INVOICE_WAIT_DETAIL : BaseEntity +//{ +// [Display(Name = "发票号")] +// public string InvbillNum { get; set; } = null!; + +// [Display(Name = "零件号")] +// public string LU { get; set; } = null!; + +// [Display(Name = "单价")] +// public decimal PRICE { get; set; } + +// [Display(Name = "数量")] +// public decimal Qty { get; set; } + +// [Display(Name = "金额")] +// public decimal Amt { get; set; } + +// [Display(Name = "扩展字段1")] +// public string Extend1 { get; set; } = null!; + +// [Display(Name = "扩展字段2")] +// public string Extend2 { get; set; } = null!; + +// [Display(Name = "扩展字段3")] +// public string Extend3 { get; set; } = null!; + +// [Display(Name = "扩展字段4")] +// public string Extend4 { get; set; } = null!; +// [Display(Name = "期间")] +// public string Version { get; set; } = null!; +// [Display(Name = "发票分组号")] +// public string InvGroupNum { get; set; } = null!; +// [Display(Name = "业务分类")] +// public string BussiessType { get; set; } = null!; +//} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_MAP_GROUP.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_MAP_GROUP.cs new file mode 100644 index 00000000..6d89172a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_MAP_GROUP.cs @@ -0,0 +1,31 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Hidden] +[Display(Name = "发票和结算分组对应关系")] +[ShangWuShenHeGroup] +public class INVOICE_MAP_GROUP : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "发票号")] + public string InvbillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算分组号")] + public string SettleGroupNum { get; set; } = null!; + + [Display(Name = "金额")] + public decimal Amt { get; set; } + + [Display(Name = "扩展字段1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展字段2")] + public string Extend2 { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_NOT_SETTLE.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_NOT_SETTLE.cs new file mode 100644 index 00000000..29d5c0d1 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_NOT_SETTLE.cs @@ -0,0 +1,31 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Hidden] +[Display(Name = "不可结算零件号")] +[ShangWuShenHeGroup] +public class INVOICE_NOT_SETTLE : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算分组号")] + public string SettleGroupNum { get; set; } = null!; + + [Display(Name = "可结算零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "不可结算零件号")] + public string LU1 { get; set; } = null!; + + [Display(Name = "扩展字段1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展字段2")] + public string Extend2 { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_WAIT_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_WAIT_DETAIL.cs new file mode 100644 index 00000000..cddbd3bc --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE_WAIT_DETAIL.cs @@ -0,0 +1,49 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Hidden] +[ShangWuShenHeGroup] +[Display(Name = "待开票明细")] +public class INVOICE_WAIT_DETAIL : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "发票号")] + public string InvbillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "单价")] + public decimal PRICE { get; set; } + + [Display(Name = "数量")] + public decimal Qty { get; set; } + + [Display(Name = "金额")] + public decimal Amt { get; set; } + + /// + /// 1、BBAC-JIS 2、HBPO-JIS 3、JIT 4、备件 5、印度件 + /// + [Display(Name = "业务分类")] + public string BussiessType { get; set; } = null!; + + [Display(Name = "扩展字段1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展字段2")] + public string Extend2 { get; set; } = null!; + + [Display(Name = "扩展字段3")] + public string Extend3 { get; set; } = null!; + + [Display(Name = "扩展字段4")] + public string Extend4 { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs deleted file mode 100644 index 977dbeb5..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(5)] -[ChuKuDanGroup] -[Display(Name = "印度件出库单")] -public class IN_DN : BaseEntity -{ - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - /// - /// 如 J2023060212 - /// - [Display(Name = "出库单号")] - [OneToMany] - public string DNBillNum { get; set; } = null!; - - /// - /// 定时统计记录数量 - /// - [Display(Name = "各种状态统计显示")] - public string StockCount { get; set; } = null!; -} -[ChuKuDanGroup] -[Display(Name = "印度件出库单明细")] -[Hidden] -public class IN_DN_DETAIL : BaseEntity -{ - [Display(Name = "LU+交付识别号")] - public string KeyCode { get; set; } = null!; - - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - [Display(Name = "出库单号")] - - public string DNBillNum { get; set; } = null!; - - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - - [Display(Name = "零件号")] - public string LU { get; set; } = null!; - - [Display(Name = "交付识别号")] - public string PU { get; set; } = null!; - - [Display(Name = "工厂地点")] - public string Site { get; set; } = null!; - - /// - /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 - /// - [Display(Name = "状态")] - public string State { get; set; } = null!; - - [Display(Name = "结算数量")] - public decimal Qty { get; set; } - - [Display(Name = "单价")] - public decimal Price { get; set; } - - [Display(Name = "结算日期(收货日期)")] - public DateTime SettleDate { get; set; } - - [Display(Name = "结算分组")] - public string GroupNum { get; set; } = null!; - -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs index 112e6469..a413d1ab 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs @@ -1,11 +1,10 @@ using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; +using WTA.Application.Identity.Entities.SystemManagement.Group; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; -[Order(2)] -[MaiDanJianDataInput] +[INDataInputGroup] [Display(Name = "印度件发运数据查询")] public class IN_SE_DETAIL : BaseEntity { @@ -32,5 +31,4 @@ public class IN_SE_DETAIL : BaseEntity [Display(Name = "WMS发货单号")] public string WmsBillNum { get; set; } = null!; - } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs deleted file mode 100644 index 1ea76d7e..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class JISDataInputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs deleted file mode 100644 index 6bd31ba8..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class JISDataOutputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs deleted file mode 100644 index 027dc78e..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Module; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Display(Name = "JIS业务")] -public class JISModule : BaseModule -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs deleted file mode 100644 index 67680a8b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class JITDataInputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs deleted file mode 100644 index 53e999b1..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class JITDataOutputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs deleted file mode 100644 index e402cd84..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(3)] -[ChuKuDanGroup] -[Display(Name = "JIT出库单主表")] -public class JIT_DN : BaseEntity -{ - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - /// - /// 如 J2023060212 - /// - [Display(Name = "出库单号")] - [OneToMany] - public string DNBillNum { get; set; } = null!; - - /// - /// 定时统计记录数量 - /// - [Display(Name = "各种状态统计显示")] - public string StockCount { get; set; } = null!; - -} - -[Display(Name = "JIT出库单明细")] -[ChuKuDanGroup] -[Hidden] -public class JIT_DN_DETAIL : BaseEntity -{ - [Display(Name = "LU+ASN单号")] - public string KeyCode { get; set; } = null!; - - [Display(Name = "期间")] - public string Version { get; set; } = null!; - - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - - [Display(Name = "零件号")] - public string LU { get; set; } = null!; - - [Display(Name = "发货单号")] - public string PN { get; set; } = null!; - - [Display(Name = "工厂地点")] - public string Site { get; set; } = null!; - - /// - /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 - /// - [Display(Name = "状态")] - public string State { get; set; } = null!; - - [Display(Name = "结算数量")] - public decimal Qty { get; set; } - - [Display(Name = "单价")] - public decimal Price { get; set; } - - [Display(Name = "结算日期(收货日期)")] - public DateTime SettleDate { get; set; } - - [Display(Name = "结算分组")] - public string GroupNum { get; set; } = null!; -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs index 1692a026..b6e3f79c 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs @@ -1,11 +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; - -[Order(2)] -[JITDataInput] +[JITDataInputGroup] [Display(Name = "JIT发运数据查询")] public class JIT_SE_DETAIL : BaseEntity { @@ -28,7 +27,7 @@ public class JIT_SE_DETAIL : BaseEntity public DateTime BeginDate { get; set; } [Display(Name = ("发货时间"))] - public DateTime ShppingDate { get; set; } + public DateTime ShippingDate { get; set; } [Display(Name = ("Wms发货单号"))] public string WmsBillNum { get; set; } = null!; diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_SA_REPORT.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_SA_REPORT.cs new file mode 100644 index 00000000..96186b5f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_SA_REPORT.cs @@ -0,0 +1,80 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Application.Identity.Entities.SystemManagement.Group; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[JITDataComparisonGroup] +[Display(Name = "JIT发运数据与结算数据对比实体")] +public class JIT_SE_SA_REPORT : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + /// + /// 有结算无发货(无EDI数据) + ///有结算无发货(有EDI数据) + ///有结算有发货(无EDI数据) + ///有结算有发货(无价格信息) + ///有结算有发货(有EDI数据) + ///无结算有发货(有EDI数据) + ///无结算有发货(无EDI数据) + ///有结算有发货(有EDI数据) + ///有结算有发货(WMS多发) + /// + [Display(Name = "类别")] + public string Category { get; set; } = null!; + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "PJIS日顺序号")] + public string PJISSeqNumber { get; set; } = null!; + + [Display(Name = "物料号")] + public string MaterialNumber { get; set; } = null!; + + [Display(Name = "物料描述")] + public string MaterialDes { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 结算数据中的过账日期 + /// + [Display(Name = "客户下线时间")] + public DateTime CustomerOfflineTime { get; set; } + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal SEQty { get; set; } + + [Display(Name = "发货数量")] + public decimal WMSQty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { get; set; } + + [Display(Name = "匹配类型")] + public string MateType { get; set; } = null!; + + [Display(Name = "定价")] + public decimal FixPrice { get; set; } + + [Display(Name = "期间")] + public string Version { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/M_PD_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/M_PD_DETAIL.cs new file mode 100644 index 00000000..0506bf5a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/M_PD_DETAIL.cs @@ -0,0 +1,48 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Hidden] +[Display(Name = "买单件待扣减实体")] +public class M_PD_DETAIL : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "替换零件号")] + public string RELU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "替换生产号")] + public string REPN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs deleted file mode 100644 index b73f2ab7..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class MaiDanJianDataInputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs deleted file mode 100644 index a5f3ce57..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class MaiDanJianDataOutputAttribute : GroupAttribute -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs deleted file mode 100644 index 83b7ec97..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Module; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(5)] -[Display(Name = "备件业务")] -public class MaiDanJianModule : BaseModule -{ -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Material.cs similarity index 98% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Material.cs index dfe3431e..3a0c935f 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Material.cs @@ -7,7 +7,7 @@ namespace WTA.Application.Identity.Entities.SystemManagement; [Order(7)] [SystemManagement] [Display(Name = "物料主数据")] -public class Class1 : BaseEntity +public class Material : BaseEntity { } @@ -87,28 +87,28 @@ public class Class1 : BaseEntity //} //[Order(1)] -//[JISDataInput] +// //[Display(Name = "HBPO结算导入")] //public class Class9 : BaseEntity //{ //} //[Order(2)] -//[JISDataInput] +// //[Display(Name = "BBAC结算导入")] //public class Class10 : BaseEntity //{ //} //[Order(3)] -//[JISDataInput] +// //[Display(Name = "HBPO发运数据")] //public class Class11 : BaseEntity //{ //} //[Order(4)] -//[JISDataInput] +// //[Display(Name = "BBAC发运数据")] //public class Class12 : BaseEntity //{ @@ -300,14 +300,14 @@ public class Class1 : BaseEntity //} //[Order(1)] -//[MaiDanJianDataInput] +// //[Display(Name = "印度件结算导入")] //public class Class30 : BaseEntity //{ //} //[Order(2)] -//[MaiDanJianDataInput] +// //[Display(Name = "印度件发运数据查询")] //public class Class31 : BaseEntity //{ diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaterialRelationship.cs similarity index 83% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaterialRelationship.cs index fd37a61d..59f299e5 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaterialRelationship.cs @@ -7,6 +7,6 @@ namespace WTA.Application.Identity.Entities.SystemManagement; [Order(8)] [SystemManagement] [Display(Name = "客户零件关系")] -public class Class2 : BaseEntity +public class MaterialRelationship : BaseEntity { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/BJModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/BJModule.cs new file mode 100644 index 00000000..648e367b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/BJModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement.Module; + +[Order(5)] +[Display(Name = "备件")] +public class BJModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/INModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/INModule.cs new file mode 100644 index 00000000..883a64fc --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/INModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement.Module; + +[Display(Name = "印度件")] +[Order(6)] +public class INModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISBBACModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISBBACModule.cs new file mode 100644 index 00000000..75103638 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISBBACModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement.Module; + +[Order(2)] +[Display(Name = "JIS-BBAC")] +public class JISBBACModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISHBPOModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISHBPOModule.cs new file mode 100644 index 00000000..c209e57a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JISHBPOModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement.Module; + +[Order(3)] +[Display(Name = "JIS-HBPO")] +public class JISHBPOModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JITModule.cs similarity index 56% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JITModule.cs index ccac5a19..51dc2a65 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Module/JITModule.cs @@ -2,10 +2,10 @@ using System.ComponentModel.DataAnnotations; using WTA.Shared.Attributes; using WTA.Shared.Module; -namespace WTA.Application.Identity.Entities.SystemManagement; +namespace WTA.Application.Identity.Entities.SystemManagement.Module; -[Order(3)] -[Display(Name = "JIT业务")] +[Order(4)] +[Display(Name = "直供件")] public class JITModule : BaseModule { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_CAN_SA.cs similarity index 56% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_CAN_SA.cs index 0a281f9e..a920b53a 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_CAN_SA.cs @@ -3,38 +3,39 @@ using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[MaiDanJianDataInput] -[Display(Name = "印度件结算导入")] -public class IN_SA : BaseEntity +[Hidden] +[Display(Name = "PUB可结算导入")] +public class PUB_CAN_SA : BaseEntity { [Display(Name = "期间")] public string Version { get; set; } = null!; + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; + [Display(Name = "结算单据")] - [OneToMany] + [OneToMany] public string BillNum { get; set; } = null!; - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - /// - /// 1、新建 2、已有出库单3、已有扣减寄售库 + /// 1、新建 2、已有出库3、已有扣减寄售库 /// [Display(Name = "状态")] public string State { get; set; } = null!; -} + /// + /// 1、JIT 2、买单件 3、备件 3、印度件 + /// + [Display(Name = "业务分类")] + public string BusinessType { get; set; } = null!; -[Display(Name = "印度件结算明细")] -[MaiDanJianDataInput] + [Display(Name = "明细记录行数")] + public string InvGroupNum { get; set; } = null!; +} +[Display(Name = "PUB可结算导入明细")] [Hidden] -public class IN_SA_DETAIL : BaseEntity +public class PUB_CAN_SA_DETAIL : BaseEntity { - /// - /// 对应字段(LU+External Delivery ID) - /// [Display(Name = "LU+ASN单号")] public string KeyCode { get; set; } = null!; @@ -50,26 +51,29 @@ public class IN_SA_DETAIL : BaseEntity [Display(Name = "结算单号")] public string BillNum { get; set; } = null!; + [Display(Name = "关联结算单号")] + public string SettleBillNum { get; set; } = null!; + /// - /// 对应字段Material + /// 对应字段PartNumber /// [Display(Name = "零件号")] public string LU { get; set; } = null!; /// - /// 对应字段External Delivery ID + /// 对应字段productionlumber /// - [Display(Name = "发货单号")] - public string PU { get; set; } = null!; + [Display(Name = "生产码")] + public string PN { get; set; } = null!; /// - /// 无 + /// 对应字段filename 区分 cn1、cn5 /// [Display(Name = "工厂地点")] public string Site { get; set; } = null!; /// - /// 对应字段Original Delivery Quantity + /// 对应字段Qty /// [Display(Name = "结算数量")] public decimal Qty { get; set; } @@ -80,14 +84,23 @@ public class IN_SA_DETAIL : BaseEntity [Display(Name = "单价")] public decimal Price { get; set; } + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + /// - /// 对应字段Delivery Date + /// 对应字段ReceiveDate /// [Display(Name = "结算日期(收货日期)")] public DateTime SettleDate { get; set; } /// - /// 对应字段【凭证号】 + /// 1、JIT 2、买单件 3、备件 3、印度件 + /// + [Display(Name = "业务类别")] + public string BusinessType { get; set; } = null!; + + /// + /// 对应字段DeliveryNode /// [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_NOT_SA_DETAIL.cs similarity index 57% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_NOT_SA_DETAIL.cs index 7bd3a3eb..a35d5f26 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_NOT_SA_DETAIL.cs @@ -3,35 +3,10 @@ using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[ChuKuDanGroup] -[Display(Name = "BBAC-JIS出库单")] -public class BBAC_DN : BaseEntity -{ - [Display(Name = "期间")] - public string Version { get; set; } = null!; - /// - /// 如 BA2023060212 - /// - [Display(Name = "出库单号")] - [OneToMany] - public string DNBillNum { get; set; } = null!; - /// - /// 定时统计记录数量 - /// - [Display(Name = "不能出库记录、已扣减统计")] - public string StockCount { get; set; } = null!; -} -[Display(Name = "BBAC出库单明细")] -[ChuKuDanGroup] [Hidden] -public class BBAC_DN_DETAIL : BaseEntity +[Display(Name = "PUB不可结算导入明细")] +public class PUB_NOT_SA_DETAIL : BaseEntity { - - /// - /// 对应字段(Material+ExternalCalNumber) - /// [Display(Name = "LU+生产码")] public string KeyCode { get; set; } = null!; @@ -45,11 +20,8 @@ public class BBAC_DN_DETAIL : BaseEntity /// 结算单号 /// [Display(Name = "结算单号")] - public string BillNum { get; set; } = null!; - [Display(Name = "发票分组号")] - public string INVGroupNum { get; set; } = null!; - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; + public string SettleBillNum { get; set; } = null!; + /// /// 对应字段Material /// @@ -62,23 +34,38 @@ public class BBAC_DN_DETAIL : BaseEntity [Display(Name = "生产码")] public string PN { get; set; } = null!; + /// + /// 选择工厂导入 + /// [Display(Name = "工厂地点")] public string Site { get; set; } = null!; + /// - /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息分组 + /// 对应字段Quantity /// - [Display(Name = "状态")] - public string State { get; set; } = null!; - [Display(Name = "结算数量")] public decimal Qty { get; set; } + [Display(Name = "扩展1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展2")] + public string Extend2 { get; set; } = null!; + + [Display(Name = "扩展3")] + public string Extend3 { get; set; } = null!; + [Display(Name = "单价")] public decimal Price { get; set; } - + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + /// + /// 对应字段PostingDate + /// [Display(Name = "结算日期(收货日期)")] public DateTime SettleDate { get; set; } - + [Display(Name = "业务分类")] + public string BusinessType { get; set; } = null!; [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_PD_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_PD_DETAIL.cs new file mode 100644 index 00000000..ef211ec5 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_PD_DETAIL.cs @@ -0,0 +1,54 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Hidden] +[Display(Name = "PUB待扣减实体")] +public class PUB_PD_DETAIL : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "替换零件号")] + public string RELU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "替换生产号")] + public string REPN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 1、JIT 2、买单件 3、备件 3、印度件 + /// + [Display(Name = "业务类别")] + public string BusinessType { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SA.cs similarity index 69% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SA.cs index 381e204c..aeb07fa0 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SA.cs @@ -3,45 +3,31 @@ using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(1)] -[JITDataInput] -[Display(Name = "JIT件结算导入")] -public class JIT_SA : BaseEntity +[Hidden] +[Display(Name = "公用结算导入主表")] +public class PUB_SA : BaseEntity { [Display(Name = "期间")] public string Version { get; set; } = null!; [Display(Name = "结算单据")] - [OneToMany] + [OneToMany] public string BillNum { get; set; } = null!; - [Display(Name = "出库单号")] - public string DNBillNum { get; set; } = null!; - /// /// 1、新建 2、已有出库3、已有扣减寄售库 /// [Display(Name = "状态")] public string State { get; set; } = null!; - - /// - /// 明细记录行数 - /// - [Display(Name = "明细记录行数")] - public string RecordCount { get; set; } = null!; - } - -[Display(Name = "JIT结算导入明细")] -[JITDataInput] +[Display(Name = "公用结算导入明细")] [Hidden] -public class JIT_SA_DETAIL : BaseEntity +public class PUB_SA_DETAIL : BaseEntity { /// /// 对应字段(Material+External Delivery ID) /// - [Display(Name = "LU+ASN单号")] + [Display(Name = "LU+生产码")] public string KeyCode { get; set; } = null!; /// @@ -57,7 +43,7 @@ public class JIT_SA_DETAIL : BaseEntity public string BillNum { get; set; } = null!; /// - /// 取值字段Material + /// 对应字段Material /// [Display(Name = "零件号")] public string LU { get; set; } = null!; @@ -65,11 +51,11 @@ public class JIT_SA_DETAIL : BaseEntity /// /// 取值字段External Delivery ID /// - [Display(Name = "发货单号")] + [Display(Name = "生产码")] public string PN { get; set; } = null!; /// - /// 无 + /// /// [Display(Name = "工厂地点")] public string Site { get; set; } = null!; @@ -81,19 +67,31 @@ public class JIT_SA_DETAIL : BaseEntity public decimal Qty { get; set; } /// - /// 匹配价格表对应区间带出 + /// 匹配价格表对应区间对应地点带出 /// [Display(Name = "单价")] public decimal Price { get; set; } + [Display(Name = "发票分组号")] + public string InvGroupNum { get; set; } = null!; + /// - /// 对应字段Pstng Date + /// 对应字段PostingDate /// [Display(Name = "结算日期(收货日期)")] public DateTime SettleDate { get; set; } + [Display(Name = "扩展字段1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展字段2")] + public string Extend2 { get; set; } = null!; + + [Display(Name = "扩展字段3")] + public string Extend3 { get; set; } = null!; + /// - /// 对应字段Delivery + /// 对应字段Reference /// [Display(Name = "结算分组")] public string GroupNum { get; set; } = null!; diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SE_DETAIL.cs new file mode 100644 index 00000000..69882f0e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PUB_SE_DETAIL.cs @@ -0,0 +1,49 @@ +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; +[Hidden] +[Display(Name = "PUB发运数据")] +public class PUB_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 = "扩展1")] + public string Extend1 { get; set; } = null!; + + [Display(Name = "扩展2")] + public string Extend2 { get; set; } = null!; + + [Display(Name = "扩展3")] + public string Extend3 { get; set; } = null!; + + /// + /// 1、JIT 2、买单件 3、备件 3、印度件 + /// + [Display(Name = "业务分类")] + public string BusinessType { get; set; } = null!; + + [Display(Name = "订单时间")] + public DateTime BeginDate { get; set; } + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PURCHASE_PRICE.cs similarity index 60% rename from docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs rename to docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PURCHASE_PRICE.cs index b5d84ffb..46cde40d 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/PURCHASE_PRICE.cs @@ -3,10 +3,9 @@ using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(2)] -[Edi] -[Display(Name = "EDI和BBAC核对")] -public class Class8 : BaseEntity +[SystemManagement] +[Display(Name = "采购价格单")] +[Order(14)] +public class PURCHASE_PRICE : BaseEntity { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs index cb8c3edb..59c3d37e 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs @@ -3,6 +3,7 @@ using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; + [Order(11)] [Display(Name = "备件价格表")] [SystemManagement] @@ -25,5 +26,4 @@ public class TB_PRICE_BJ : BaseEntity /// [Display(Name = "客户编码")] public string ClientCode { get; set; } = null!; - } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs index 5b6686fc..2937a76b 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs @@ -38,5 +38,6 @@ public class TB_PRICE_LIST : BaseEntity /// [Display(Name = "客户编码")] public string ClientCode { get; set; } = null!; - + [Display(Name = "业务列别")] + public string BusinessType { get; set; } = null!; } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs deleted file mode 100644 index e20b307b..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WTA.Shared.Attributes; -using WTA.Shared.Domain; - -namespace WTA.Application.Identity.Entities.SystemManagement; - -[Order(10)] -[SystemManagement] -[Display(Name = "库存扣减总成替换表")] -public class TB_ReAssemblyRelationship : BaseEntity -{ - /// - /// 取值字段【厂内总成号】 - /// - [Display(Name = "原总成号")] - public string SourceAssemblyCode { get; set; } = null!; - - /// - /// 取值字段【替换厂内总成号】 - /// - [Display(Name = "替换总成号")] - public string DestinationAssemblyCode { get; set; } = null!; - - /// - /// 取值字段【客户编码】 - /// - [Display(Name = "客户编码")] - public string ClientCode { get; set; } = null!; - -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs index 0caa9f63..a8376669 100644 --- a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs @@ -6,7 +6,7 @@ namespace WTA.Application.Identity.Entities.SystemManagement; [Order(9)] [SystemManagement] -[Display(Name = "客户端替换件关系")] +[Display(Name = "客户替换件关系")] public class TB_RePartsRelationship : BaseEntity { /// @@ -23,5 +23,6 @@ public class TB_RePartsRelationship : BaseEntity [Display(Name = "客户编码")] public string ClientCode { set; get; } = null!; - + [Display(Name = "业务类型")] + public string BusinessType { set; get; } = null!; } diff --git a/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs index 984c53ea..d38b45db 100644 --- a/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs +++ b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs @@ -1,6 +1,6 @@ namespace WTA.Shared.Attributes; -[AttributeUsage(AttributeTargets.Property)] +[AttributeUsage(AttributeTargets.Property,AllowMultiple =true)] public class OneToManyAttribute : Attribute, ITypeAttribute { public Type Type { get; set; } = null!;